MCPcopy Create free account
hub / github.com/apple/coremltools / assertFloatEquals

Method assertFloatEquals

deps/protobuf/php/tests/test_base.php:30–37  ·  view source on GitHub ↗

* Polyfill for phpunit6. */

($expected, $actual, $delta)

Source from the content-addressed store, hash-verified

28 * Polyfill for phpunit6.
29 */
30 static public function assertFloatEquals($expected, $actual, $delta)
31 {
32 if (function_exists('PHPUnit\Framework\assertEqualsWithDelta')) {
33 parent::assertEqualsWithDelta($expected, $actual, $delta);
34 } else {
35 parent::assertEquals($expected, $actual, '', $delta);
36 }
37 }
38
39 public function setFields2(TestMessage $m)
40 {

Callers 6

testFloatMethod · 0.80
testDoubleMethod · 0.80
testFloatFieldMethod · 0.80
testDoubleFieldMethod · 0.80
testFloatMethod · 0.80
testDoubleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected