-
Eloy Lafuente authored
In general it's a bad idea to compare floats with ===, because depending of different systems precision, can come to mismatches after certain decimal position. So we replace them by: - assetIsFloat() : to verify the type. - assertEqualsWithDelta() : to compare values with some delta allowed. Also, "raw" is Oracle reserved word, so renaming to "someraw" in tests.
Eloy Lafuente authoredIn general it's a bad idea to compare floats with ===, because depending of different systems precision, can come to mismatches after certain decimal position. So we replace them by: - assetIsFloat() : to verify the type. - assertEqualsWithDelta() : to compare values with some delta allowed. Also, "raw" is Oracle reserved word, so renaming to "someraw" in tests.
Loading