diff --git a/members/revsqrt/tests/features/book/revsqrt.feature b/members/revsqrt/tests/features/book/revsqrt.feature index c44302e..055c6df 100644 --- a/members/revsqrt/tests/features/book/revsqrt.feature +++ b/members/revsqrt/tests/features/book/revsqrt.feature @@ -62,7 +62,10 @@ Feature: inverted square root calculation Given the number n | n | | 1 | + | 0.9 | | 1.0001 | + | 1.1001 | + | 1.1050 | | 0.999 | | 0.9999999999 | Then they are about the same diff --git a/members/revsqrt/tests/revsqrt.rs b/members/revsqrt/tests/revsqrt.rs index 28f9258..a4a8521 100644 --- a/members/revsqrt/tests/revsqrt.rs +++ b/members/revsqrt/tests/revsqrt.rs @@ -14,10 +14,10 @@ pub struct NumWorld { // a thought of me at least? #[inline] fn about_same(n: f32, m: f32) -> bool { - dbg!((n, m)); - dbg!((n - m).abs()); - dbg!(calc_gate(n, m)); - dbg!((n - m).abs() < calc_gate(n, m)); + // dbg!((n, m)); + // dbg!((n - m).abs()); + // dbg!(calc_gate(n, m)); + // dbg!((n - m).abs() < calc_gate(n, m)); (n - m).abs() <= calc_gate(n, m) }