MCPcopy Create free account
hub / github.com/nodejs/node / testEqual

Function testEqual

deps/v8/test/mjsunit/double-equals.js:34–39  ·  view source on GitHub ↗

* This test uses assert{True,False}(... == ...) instead of * assertEquals(..., ...) to not rely on the details of the * implementation of assertEquals.

(a, b)

Source from the content-addressed store, hash-verified

32 */
33
34function testEqual(a, b) {
35 assertTrue(a == b);
36 assertTrue(b == a);
37 assertFalse(a != b);
38 assertFalse(b != a);
39}
40
41function testNotEqual(a, b) {
42 assertFalse(a == b);

Callers 1

double-equals.jsFile · 0.85

Calls 2

assertTrueFunction · 0.70
assertFalseFunction · 0.50

Tested by

no test coverage detected