Fixed floating point error in test case

This commit is contained in:
PaddiM8 2021-12-31 23:47:12 +01:00
parent 5aeec6166f
commit c652d9d432

View File

@ -884,7 +884,7 @@ mod tests {
(0.000000001, -1.0, "10^-9 - i ≈ -i"), (0.000000001, -1.0, "10^-9 - i ≈ -i"),
(10e-17, 1.0, "i"), (10e-17, 1.0, "i"),
(1.0, 10e-17, "1"), (1.0, 10e-17, "1"),
(10e-15, 0.0, "0"), (10e-16, 0.0, "0"),
(3.00000000004, 0.0, "3"), (3.00000000004, 0.0, "3"),
]; ];
for (real, imaginary, output) in in_out { for (real, imaginary, output) in in_out {