MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / assert

Function assert

MathBox/mathbox-core.js:2038–2040  ·  view source on GitHub ↗
(test, message)

Source from the content-addressed store, hash-verified

2036}
2037
2038function assert (test, message) {
2039 if (!test) throw new Error(message || 'Failed assertion')
2040}
2041
2042},{"base64-js":6,"ieee754":7}],6:[function(require,module,exports){
2043var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

Callers 15

mathbox-core.jsFile · 0.70
_hexWriteFunction · 0.70
_readUInt16Function · 0.70
_readUInt32Function · 0.70
_readInt16Function · 0.70
_readInt32Function · 0.70
_readFloatFunction · 0.70
_readDoubleFunction · 0.70
_writeUInt16Function · 0.70
_writeUInt32Function · 0.70
_writeInt16Function · 0.70
_writeInt32Function · 0.70

Calls 1

Tested by

no test coverage detected