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/051scenario_test.mu.html | 130 ------------------------------------------ 1 file changed, 130 deletions(-) delete mode 100644 html/051scenario_test.mu.html (limited to 'html/051scenario_test.mu.html') diff --git a/html/051scenario_test.mu.html b/html/051scenario_test.mu.html deleted file mode 100644 index 2472ac31..00000000 --- a/html/051scenario_test.mu.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - -Mu - 051scenario_test.mu - - - - - - - - - - -https://github.com/akkartik/mu/blob/master/051scenario_test.mu -
- 1 # tests for 'scenario' in previous layer
- 2 
- 3 scenario first_scenario_in_mu [
- 4   run [
- 5     10:num <- add 2, 2
- 6   ]
- 7   memory-should-contain [
- 8     10 <- 4
- 9   ]
-10 ]
-11 
-12 scenario scenario_with_comment_in_mu [
-13   run [
-14     # comment
-15     10:num <- add 2, 2
-16   ]
-17   memory-should-contain [
-18     10 <- 4
-19   ]
-20 ]
-21 
-22 scenario scenario_with_multiple_comments_in_mu [
-23   run [
-24     # comment1
-25     # comment2
-26     10:num <- add 2, 2
-27   ]
-28   memory-should-contain [
-29     10 <- 4
-30   ]
-31 ]
-32 
-33 scenario check_text_in_memory [
-34   run [
-35     10:num <- copy 3
-36     11:char <- copy 97  # 'a'
-37     12:char <- copy 98  # 'b'
-38     13:char <- copy 99  # 'c'
-39   ]
-40   memory-should-contain [
-41     10:array:character <- [abc]
-42   ]
-43 ]
-44 
-45 scenario check_trace [
-46   run [
-47     10:num <- add 2, 2
-48   ]
-49   trace-should-contain [
-50     mem: storing 4 in location 10
-51   ]
-52 ]
-53 
-54 scenario check_trace_negative [
-55   run [
-56     10:num <- add 2, 2
-57   ]
-58   trace-should-not-contain [
-59     mem: storing 3 in location 10
-60   ]
-61 ]
-62 
-63 scenario check_trace_instruction [
-64   run [
-65     trace 1, [foo], [aaa]
-66   ]
-67   trace-should-contain [
-68     foo: aaa
-69   ]
-70 ]
-
- - - -- cgit 1.4.1-2-gfad0