From 87b6e0aba133b78f071155ad7facdb53f5a7b781 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sat, 2 Apr 2016 21:34:29 -0700 Subject: [PATCH] Make lang-test0 work --- libs/lang-test0/lang-test0.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libs/lang-test0/lang-test0.ts b/libs/lang-test0/lang-test0.ts index dce17240..66cf5111 100644 --- a/libs/lang-test0/lang-test0.ts +++ b/libs/lang-test0/lang-test0.ts @@ -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")