Skip to content

Commit ce76835

Browse files
committed
removee useless test
1 parent ec1bf43 commit ce76835

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/example_flags.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
use tskit::{NodeFlags, RawFlags, SimplificationOptions};
22

3-
fn clip_invalid_flags() {
4-
// This value contains bits set to 1
5-
// that are not valid values for
6-
// tskit::SimplificationFlags
7-
let f: RawFlags = 1000000;
8-
9-
// Creating flags from this value will retain invalid
10-
// bits, meaning the final value == the input value.
11-
let simplification_flags = SimplificationOptions::from(f);
12-
13-
assert_eq!(f, simplification_flags.bits());
14-
}
15-
163
fn example_node_flags() {
174
let f: RawFlags = 1000000;
185

@@ -34,11 +21,6 @@ fn example_node_flags() {
3421
assert_eq!(node_flags.bits(), f);
3522
}
3623

37-
#[test]
38-
fn test_clip_invalid_flags() {
39-
clip_invalid_flags();
40-
}
41-
4224
#[test]
4325
fn test_example_node_flags() {
4426
example_node_flags();

0 commit comments

Comments
 (0)