Update tests for variables features

This commit is contained in:
mmcw-dev 2018-06-24 16:09:13 -04:00
parent c9f5d11413
commit 4e4d19aed7
1 changed files with 5 additions and 2 deletions

View File

@ -185,9 +185,12 @@ CF 10`
QUnit.test('Variables', (assert) => { QUnit.test('Variables', (assert) => {
const script1 = const script1 =
`@LIGHT=200,200,200; `@LIGHT=200,200,200
@COUNT=1
CF 20 CF 20
PF` PF
@COUNT++
`
mscript.interpret(script1, obj => { mscript.interpret(script1, obj => {
//console.dir(obj) //console.dir(obj)
assert.ok(true) assert.ok(true)