From 22b3069272c1a177e814a7c4e769e20858e2b368 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 2 May 2015 15:52:22 -0700 Subject: 1242 - simpler implementation for 'scenario' Also now has the side effect that scenarios can have any number of 'run' or check or any future blocks, in any order. --- cpp/071print.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/071print.mu') diff --git a/cpp/071print.mu b/cpp/071print.mu index b34f9844..6789ff89 100644 --- a/cpp/071print.mu +++ b/cpp/071print.mu @@ -89,7 +89,7 @@ scenario print-character-at-top-left [ 2:address:array:character <- get 1:address:screen/deref, data:offset 3:array:character <- copy 2:address:array:character/deref ] - memory should contain [ + memory-should-contain [ 3 <- 6 # width*height 4 <- 97 # 'a' 5 <- 0 @@ -168,7 +168,7 @@ scenario clear-line-erases-printed-characters [ 3:array:character <- copy 2:address:array:character/deref ] # screen should be blank - memory should contain [ + memory-should-contain [ 3 <- 6 # width*height 4 <- 0 5 <- 0 -- cgit 1.4.1-2-gfad0