MCPcopy Create free account
hub / github.com/GNOME/gjs / assertNotNaN

Function assertNotNaN

modules/script/jsUnit.js:156–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154}
155
156function assertNotNaN() {
157 _validateArguments(1, arguments);
158 var aVar=nonCommentArg(1, 1, arguments);
159 _assert(commentArg(1, arguments), !isNaN(aVar), 'Expected not NaN');
160}
161
162// GJS: assertRaises(function)
163function assertRaises() {

Callers

nothing calls this directly

Calls 4

_validateArgumentsFunction · 0.85
nonCommentArgFunction · 0.85
_assertFunction · 0.85
commentArgFunction · 0.85

Tested by

no test coverage detected