From 0e4a335edc7d4e584924fd6b298156e45d2626c8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 6 Sep 2015 16:35:46 -0700 Subject: 2175 --- html/073scenario_screen_test.mu.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'html/073scenario_screen_test.mu.html') diff --git a/html/073scenario_screen_test.mu.html b/html/073scenario_screen_test.mu.html index aa6f42b9..556fe973 100644 --- a/html/073scenario_screen_test.mu.html +++ b/html/073scenario_screen_test.mu.html @@ -13,10 +13,9 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } -.muScenario { color: #00af00; } .Comment { color: #9090ff; } -.Constant { color: #00a0a0; } .Special { color: #ff6060; } +.Identifier { color: #804000; } --> @@ -30,31 +29,31 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 # To check our support for screens in scenarios, rewrite tests from print.mu
 
-scenario print-character-at-top-left-2 [
-  assume-screen 3/width, 2/height
+scenario print-character-at-top-left-2 [
+  assume-screen 3/width, 2/height
   run [
-    screen:address <- print-character screen:address, 97/a
+    screen:address <- print-character screen:address, 97/a
   ]
   screen-should-contain [
-    .a  .
-    .   .
+    .a  .
+    .   .
   ]
 ]
 
-scenario clear-line-erases-printed-characters-2 [
-  assume-screen 5/width, 3/height
+scenario clear-line-erases-printed-characters-2 [
+  assume-screen 5/width, 3/height
   run [
     # print a character
-    screen:address <- print-character screen:address, 97/a
+    screen:address <- print-character screen:address, 97/a
     # move cursor to start of line
-    screen:address <- move-cursor screen:address, 0/row, 0/column
+    screen:address <- move-cursor screen:address, 0/row, 0/column
     # clear line
     screen:address <- clear-line screen:address
   ]
   screen-should-contain [
-    .     .
-    .     .
-    .     .
+    .     .
+    .     .
+    .     .
   ]
 ]
 
-- cgit 1.4.1-2-gfad0