diff --git a/src/test/eo/org/eolang/math/number-tests.eo b/src/test/eo/org/eolang/math/number-tests.eo index 8e9b0e4..0f047f8 100644 --- a/src/test/eo/org/eolang/math/number-tests.eo +++ b/src/test/eo/org/eolang/math/number-tests.eo @@ -665,7 +665,7 @@ number -0.1 $.equal-to TRUE -[] > sqrt-check-float-input +[] > sqrt-check-float-input-1 assert-that > @ abs. number @@ -676,6 +676,25 @@ 4.0 $.less-than 0.00000000001 +[] > sqrt-check-float-input-2 + assert-that > @ + eq. + 1.0e-6 + sqrt. + number + 1.0e-12 + $.equal-to TRUE + +[] > sqrt-check-float-input-3 + sqrt. > val! + number + 1.0e-12 + assert-that > @ + val + $.close-to + 1.0e-6 + 1.0e-12 + [] > sqrt-check-int-input assert-that > @ abs.