[Scummvm-git-logs] scummvm master -> cbe4143cc8d17ebcc4416adf7dd394f3d58f9857
djsrv
dservilla at gmail.com
Fri Jun 19 14:13:55 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cbe4143cc8 DIRECTOR: LINGO: Add tests for grammar changes
Commit: cbe4143cc8d17ebcc4416adf7dd394f3d58f9857
https://github.com/scummvm/scummvm/commit/cbe4143cc8d17ebcc4416adf7dd394f3d58f9857
Author: djsrv (dservilla at gmail.com)
Date: 2020-06-19T10:13:20-04:00
Commit Message:
DIRECTOR: LINGO: Add tests for grammar changes
Changed paths:
engines/director/lingo/tests/lists.lingo
engines/director/lingo/tests/strings.lingo
diff --git a/engines/director/lingo/tests/lists.lingo b/engines/director/lingo/tests/lists.lingo
index 0c4d431254..d695b5381a 100644
--- a/engines/director/lingo/tests/lists.lingo
+++ b/engines/director/lingo/tests/lists.lingo
@@ -9,6 +9,8 @@ put a
set gList = [point(70, 190), point(217, 66), point(364, 185)]
+set gBugList = [[energy: 10, mood: "Happy"], [energy: -10, mood: "Sad"], [energy: 60, mood: "Hungry"], [energy: 20, mood: "Sad"]]
+
set b to [4, 5, 6, 7]
set res to a + b
set res to a - b
diff --git a/engines/director/lingo/tests/strings.lingo b/engines/director/lingo/tests/strings.lingo
index 487750ddb6..d90a261ddb 100644
--- a/engines/director/lingo/tests/strings.lingo
+++ b/engines/director/lingo/tests/strings.lingo
@@ -6,12 +6,12 @@ put z1
put chars("Macromedia", 6, 6)
put chars("Macromedia", 6, 10)
put chars("Macromedia", -1, 15)
-if z1 contains "MeÍW" then
+if z1 contains "Me�W" then
put "Contains"
else
put "Doesn't contain"
end if
-if "meow" = "MeÍW" then
+if "meow" = "Me�W" then
put "Equals"
else
put "Doesn't equal"
@@ -25,3 +25,15 @@ end if
when keydown then if the key=return then set the stagecolor to random (256)
file(mWritestring, return)
+
+put return
+
+put "foo" into test
+put return after test
+put test
+
+put return before test
+put test
+
+put return into test
+put test
More information about the Scummvm-git-logs
mailing list