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
<j20-script> | |
j20Init(function () { | |
'use strict'; | |
var bef; | |
function beforeEach(f) { | |
bef = f; | |
} | |
function it(str, f) { |
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
//sedoku | |
var testrowg = "123456789"; | |
var testrowbad = "123446789"; | |
function shouldEq(testid, a, b) { if (a != b) console.log(testid + " failed");} | |
shouldEq("goodrow", sedoku1(testrowg), true); | |
shouldEq("badrow", sedoku1(testrowbad), false); | |
var testg = "154873296386592714729641835863725149975314628412968357631457982598236471247189563"; | |
var testb = "158473296386592714729641835863725149972314628412968357631457982598236471247189563"; |