Skip to content

Commit 65978df

Browse files
author
MarkBaker
committed
Set delta for testing floats with precision
1 parent 719d01c commit 65978df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unitTests/classes/src/BaseTestAbstract.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function assertMatrixValues(Matrix $matrix, $rows, $columns, array $gr
3232
self::assertEqualsWithDelta(
3333
(float) $expectedValue,
3434
(float) $matrixGrid[$row][$column],
35-
1.0e-12,
35+
1.0e-14,
3636
"Invalid result at row {$row} and column {$column}"
3737
);
3838
}

0 commit comments

Comments
 (0)