Function cosmwasm_std::testing::riffle_shuffle [−][src]
pub fn riffle_shuffle<T: Clone>(input: &[T]) -> Vec<T>
Expand description
Performs a perfect shuffle (in shuffle)
https://en.wikipedia.org/wiki/Riffle_shuffle_permutation#Perfect_shuffles https://en.wikipedia.org/wiki/In_shuffle