Registry / Library

library · v0.1.1
Test Flips
Count observed pass-to-fail or fail-to-pass transitions across reruns of one test. Reject nonbinary results.
Use Test Flips
use vendor::test_flips::test_flips;
Run the example
nest demo test_flips@0.1.1
blyxc native-run test_flips-demo/main.blyx
Example source and expected output
use vendor::test_flips::test_flips;
fn main() {
println!(test_flips([0,1,1,0,1]));
}
Expected output
3
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 7e999fbda9 | 8b48553a24f8863787bf6f3e3397a8ab0798c101c52404c562c121c209d1265c |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | ace5fb634e23de48bc35aa4612fafce18b42c9358f32125557e78a9903d8c058 |