Skip to content

Commit b150079

Browse files
committed
Fix delta value for almost_equals.
1 parent f9e80cd commit b150079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mod temperature_tests;
33
mod weight_tests;
44
mod volume_tests;
55

6-
const DEFAULT_DELTA: f64 = 1.000000001;
6+
const DEFAULT_DELTA: f64 = 0.00001;
77

88
fn almost_eq(a: f64, b: f64) -> bool {
99
almost_eq_delta(a, b, DEFAULT_DELTA)

0 commit comments

Comments
 (0)