MCPcopy Create free account
hub / github.com/HumbleUI/Skija / assertNull

Method assertNull

tests/java/runner/TestRunner.java:92–97  ·  view source on GitHub ↗
(Object expected)

Source from the content-addressed store, hash-verified

90 }
91
92 public static void assertNull(Object expected) {
93 if (expected != null)
94 runner.fail("Expected '" + expected + "' == 'null'");
95 else
96 runner.pass();
97 }
98
99 public static void assertClose(float expected, float actual, float epsilon) {
100 try {

Callers 2

testICCMethod · 0.80
getSurfaceNullMethod · 0.80

Calls 2

failMethod · 0.80
passMethod · 0.80

Tested by

no test coverage detected