view core-javascript/core-javascript-work/demo_testtools.js @ 150:5118d0e38ba4 core-javascript-latex

$ hg merge core-javascript # into core-javascript-latex
author jf3243
date Tue, 01 Nov 2011 08:58:38 +0000
parents 20d76c716c9d
children
line wrap: on
line source

TEST('all-pass', function()
{
    assert( 2 + 2 === 4 );
    assert( 'the ' + 'cat' === 'the cat');
});


TEST('2-4-fail', function()
{
    assert( true );
    assert( false );
    assert( 1 );
    assert( 0 );
});