/// To allow for gradual progress, this function determines whether a
/// test should be skipped.
To allow for gradual progress, this function determines whether a
test should be skipped.
To allow for gradual progress this function determines whether a test should be skipped .
fn is_blacklisted(test_group: &str, index: usize) -> bool {
    let blacklisted_indices: &[usize] = match test_group {
        "additional_items" => &[0, 2],
        "additional_properties" => &[0, 1, 2, 3, 5],
        "all_of" => &[1, 2, 5, 6],
        "any_of" => &[0, 1, 2, 4],
        "definitions" => &[0, 1],
        "dependencies" => &[0, 1, 2, 3],
        "enum" => &[0, 1, 3, 4, 5, 6, 7],
        "items" => &[0, 1, 2],
        "max_items" => &[0],
        "max_length" => &[0],
        "max_properties" => &[0],
        "maximum" => &[0, 1, 2],
        "min_items" => &[0],
        "min_length" => &[0],
        "min_properties" => &[0],
        "minimum" => &[0, 1, 2, 3],
        "multiple_of" => &[0, 1, 2],
        "not" => &[0, 1, 2, 3],
        "one_of" => &[0, 1, 2, 3, 4],
        "pattern" => &[0],
        "pattern_properties" => &[0, 1, 2],
        "properties" => &[0, 1, 2],
        "ref" => &[0, 1, 2, 3, 6, 8, 9, 10, 11, 12],
        "ref_remote" => &[0, 1, 2, 3, 4, 5, 6],
        "required" => &[0, 2],
        "type" => &[6, 7, 9, 10],
        "unique_items" => &[0, 1, 2],
        _ => &[],
    };
    blacklisted_indices.contains(&index)
}
fn is_blacklisted ( test_group : & str , index : usize ) -> bool { let blacklisted_indices : & [ usize ] = match test_group { " " => & [ 0 , 2 ] , " " => & [ 0 , 1 , 2 , 3 , 5 ] , " " => & [ 1 , 2 , 5 , 6 ] , " " => & [ 0 , 1 , 2 , 4 ] , " " => & [ 0 , 1 ] , " " => & [ 0 , 1 , 2 , 3 ] , " " => & [ 0 , 1 , 3 , 4 , 5 , 6 , 7 ] , " " => & [ 0 , 1 , 2 ] , " " => & [ 0 ] , " " => & [ 0 ] , " " => & [ 0 ] , " " => & [ 0 , 1 , 2 ] , " " => & [ 0 ] , " " => & [ 0 ] , " " => & [ 0 ] , " " => & [ 0 , 1 , 2 , 3 ] , " " => & [ 0 , 1 , 2 ] , " " => & [ 0 , 1 , 2 , 3 ] , " " => & [ 0 , 1 , 2 , 3 , 4 ] , " " => & [ 0 ] , " " => & [ 0 , 1 , 2 ] , " " => & [ 0 , 1 , 2 ] , " " => & [ 0 , 1 , 2 , 3 , 6 , 8 , 9 , 10 , 11 , 12 ] , " " => & [ 0 , 1 , 2 , 3 , 4 , 5 , 6 ] , " " => & [ 0 , 2 ] , " " => & [ 6 , 7 , 9 , 10 ] , " " => & [ 0 , 1 , 2 ] , _ => & [ ] , } ; blacklisted_indices . contains ( & index ) }
To allow for gradual progress, this function determines whether a
test should be skipped.
To allow for gradual progress this function determines whether a test should be skipped .
test_group
&str
index
usize