MCPcopy Index your code
hub / github.com/clips/pattern / assert

Function assert

test/test.js:1–5  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

1function assert(expression) {
2 /* Throws AssertException if the given expression evaluates to false.
3 */
4 if (!expression) throw "AssertException";
5}
6
7function TestCase() {
8 /* TestCase objects have a setUp() and a tearDown() method,

Callers 2

test_canvas.jsFile · 0.85
TestCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…