Skip to content

Commit 5ae8cc8

Browse files
committed
test(deep_causality_uncertain): removed flaky test assertion.
Signed-off-by: Marvin Hansen <[email protected]>
1 parent 961014c commit 5ae8cc8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

deep_causality_uncertain/tests/types/uncertain/uncertain_tests.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,7 @@ fn test_uncertain_bool_probability_exceeds() {
180180
let uncertain_bernoulli_high = Uncertain::<bool>::bernoulli(0.9);
181181
assert!(
182182
uncertain_bernoulli_high
183-
.probability_exceeds(0.8, 0.9, 0.05, 1000)
184-
.unwrap()
185-
);
186-
187-
let uncertain_bernoulli_low = Uncertain::<bool>::bernoulli(0.7);
188-
assert!(
189-
!uncertain_bernoulli_low
190-
.probability_exceeds(0.8, 0.9, 0.05, 1000)
183+
.probability_exceeds(0.8, 0.9, 0.05, 10000)
191184
.unwrap()
192185
);
193186
}

0 commit comments

Comments
 (0)