Created
June 11, 2016 00:55
-
-
Save zoolu-got-rhythm/aff98ba510f573f5bd3e3546cb1e9e42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUnit.test( "hello test", function( assert ) { | |
assert.ok( 1 == "1", "Passed!" ); | |
}); | |
QUnit.test( "truthy", function( assert ) { | |
assert.ok( "" == 0, "Passed!" ); | |
}); | |
// 50/50 test | |
QUnit.test( "dice", function( assert ) { | |
for(var i = 0; i <= 10; i++) | |
assert.ok( Math.round(Math.random() * 1) <= 1, "Passed!" ); | |
}); | |
QUnit.test( "thumb print trace", function( assert ) { | |
// should be 30? | |
assert.equal(thumbPrint.getTrace().length === 32, true ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment