Make lang-test0 work

This commit is contained in:
Michal Moskal 2016-04-02 21:34:29 -07:00
parent 0d9890cfac
commit 87b6e0aba1

View File

@ -1,8 +1,13 @@
//
// Note that this is supposed to run from command line.
// Do not use anything besides basic.pause, control.inBackground, console.log
//
//% shim=ksrt::panic
function panic(code2: number): void { }
function msg(s: string): void {
// console.log(s)
//console.log(s)
//basic.pause(50);
}
@ -79,15 +84,11 @@ var unusedInit = incrXyz();
assert(xyz == 13, "init2")
testClass()
basic.showLeds(`
# # . # #
# # . # #
. . # . .
# . . . #
. # # # .
`)
basic.showNumber(1)
console.log("ALL TESTS OK")