From 6e1eeeebfb453fa7c871869c19375ce60fbd7413 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 27 Jul 2019 16:01:55 -0700 Subject: 5485 - promote SubX to top-level --- html/086scenario_console_test.mu.html | 85 ----------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 html/086scenario_console_test.mu.html (limited to 'html/086scenario_console_test.mu.html') diff --git a/html/086scenario_console_test.mu.html b/html/086scenario_console_test.mu.html deleted file mode 100644 index 940f1a5d..00000000 --- a/html/086scenario_console_test.mu.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - -Mu - 086scenario_console_test.mu - - - - - - - - - - -https://github.com/akkartik/mu/blob/master/086scenario_console_test.mu -
- 1 # To check our support for consoles in scenarios, rewrite tests from
- 2 # scenario_console.mu
- 3 # Tests for console interface.
- 4 
- 5 scenario read-key-in-mu [
- 6   assume-console [
- 7     type [abc]
- 8   ]
- 9   run [
-10     1:char, 2:bool <- read-key console
-11     3:char, 4:bool <- read-key console
-12     5:char, 6:bool <- read-key console
-13     7:char, 8:bool <- read-key console
-14   ]
-15   memory-should-contain [
-16     1 <- 97  # 'a'
-17     2 <- 1
-18     3 <- 98  # 'b'
-19     4 <- 1
-20     5 <- 99  # 'c'
-21     6 <- 1
-22     7 <- 0  # eof
-23     8 <- 1
-24   ]
-25 ]
-
- - - -- cgit 1.4.1-2-gfad0