view core-javascript/core-javascript-work/demo_testtools.js @ 213:0ea90a1819c2 default tip

Custom theming
author Radomir Dopieralski <radomir.dopieralski@allegro.pl>
date Wed, 27 Jun 2012 16:35:54 +0200
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 );
});