1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod entro_shift;

#[cfg(test)]
mod test {
    use entro_shift::entro_shift;

    #[test]
    fn test_entro_shift() {
        let mut entropy = entro_shift(1111111111);

        entropy = entro_shift(entropy);
        entropy = entro_shift(entropy);
        assert_eq!(3977031902, entropy);
    }
}