Blyx Nest Blyx language
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.

Source repository · Package JSON

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

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files7e999fbda98b48553a24f8863787bf6f3e3397a8ab0798c101c52404c562c121c209d1265c
0.1.0Download ZIP · Browse files6349f23784ace5fb634e23de48bc35aa4612fafce18b42c9358f32125557e78a9903d8c058