view core-javascript/core-javascript-work/demo_testtools.js @ 161:a4b0e283999c core-javascript.closure-exercises

Have remove_answers.py process all js files in the answers folder.
author jf3243
date Wed, 09 Nov 2011 16:10:29 +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 );
});