diff options
Diffstat (limited to 'engines/director/lingo/tests/math.lingo')
-rw-r--r-- | engines/director/lingo/tests/math.lingo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/director/lingo/tests/math.lingo b/engines/director/lingo/tests/math.lingo new file mode 100644 index 0000000000..d4b3d96105 --- /dev/null +++ b/engines/director/lingo/tests/math.lingo @@ -0,0 +1,12 @@ +if random(4) > 2 then put 1000 +set z = 5.5 +set z1 = 2 +set z2 = z / z1 +put z +put z1 +put z2 +put integer(z2) +put cos(z2) + +set x = 2 + 3 * (4 / 2) +put x |