1 unstable release

0.1.0 Sep 5, 2024

#617 in Rust patterns

Download history 104/week @ 2024-08-31 22/week @ 2024-09-07 19/week @ 2024-09-14 4/week @ 2024-09-21 5/week @ 2024-09-28

77 downloads per month

Custom license

81KB
2K SLoC

flipflop

Stress-tester for double-ended iterators.

License

Available via the Anti-Capitalist Software License for individuals, non-profit organisations, and worker-owned businesses.


lib.rs:

Stress-tester for double-ended iterators.

use flipflop::prelude::*;

let mut accum = accum::Unbounded::new();
let mut suite = suite::Consistent::new();

let mut iter = (1..10).rev().flat_map(|x| 0..x);

if let Err(err) = suite.run(&iter, &mut accum) {
    panic!("{}", err);
}

Dependencies

~245–680KB
~12K SLoC