MDL-72329 phpunit: Avoid === on floats and raw reserved word
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.
Please register or sign in to comment