From f5465e1220d73e237c51897b7d1211ec53b0dc04 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 7 Sep 2015 10:37:27 -0700 Subject: 2177 --- html/076scenario_console_test.mu.html | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'html/076scenario_console_test.mu.html') diff --git a/html/076scenario_console_test.mu.html b/html/076scenario_console_test.mu.html index 7b38078c..b33cb4cd 100644 --- a/html/076scenario_console_test.mu.html +++ b/html/076scenario_console_test.mu.html @@ -13,9 +13,10 @@ 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; } --> @@ -31,25 +32,25 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; } # scenario_console.mu # Tests for console interface. -scenario read-key-in-mu [ - assume-console [ - type [abc] +scenario read-key-in-mu [ + assume-console [ + type [abc] ] run [ - 1:character, console:address, 2:boolean <- read-key console:address - 3:character, console:address, 4:boolean <- read-key console:address - 5:character, console:address, 6:boolean <- read-key console:address - 7:character, console:address, 8:boolean <- read-key console:address + 1:character, console:address, 2:boolean <- read-key console:address + 3:character, console:address, 4:boolean <- read-key console:address + 5:character, console:address, 6:boolean <- read-key console:address + 7:character, console:address, 8:boolean <- read-key console:address ] memory-should-contain [ - 1 <- 97 # 'a' - 2 <- 1 - 3 <- 98 # 'b' - 4 <- 1 - 5 <- 99 # 'c' - 6 <- 1 - 7 <- 0 # eof - 8 <- 1 + 1 <- 97 # 'a' + 2 <- 1 + 3 <- 98 # 'b' + 4 <- 1 + 5 <- 99 # 'c' + 6 <- 1 + 7 <- 0 # eof + 8 <- 1 ] ] -- cgit 1.4.1-2-gfad0