mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-14 02:20:57 +01:00
Fixed floating point error in test case
This commit is contained in:
parent
5aeec6166f
commit
c652d9d432
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user