[][src]Function cosmwasm_std::testing::riffle_shuffle

pub fn riffle_shuffle<T: Clone>(input: &[T]) -> Vec<T>

Performs a perfect shuffle (in shuffle)

https://en.wikipedia.org/wiki/Riffle_shuffle_permutation#Perfect_shuffles https://en.wikipedia.org/wiki/In_shuffle