about summary refs log tree commit diff stats
path: root/cpp/002main.test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/002main.test.cc')
-rw-r--r--cpp/002main.test.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/cpp/002main.test.cc b/cpp/002main.test.cc
deleted file mode 100644
index 72dbe41f..00000000
--- a/cpp/002main.test.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-TEST(parse)
-  compile("recipe main [\n"
-          "  1:integer <- copy 23:literal\n"
-          "]\n");
-  CHECK_TRACE_CONTENTS("parse", "instruction: 1  ingredient: {name: \"23\", type: 0}  product: {name: \"1\", type: 1}");
-}
-
-TEST(parse_label)
-  compile("recipe main [\n"
-          "  foo:\n"
-          "]\n");
-  CHECK_TRACE_CONTENTS("parse", "label: foo");
-  CHECK_TRACE_DOESNT_CONTAIN("parse", "instruction: 1");
-}
-
-TEST(parse2)
-  compile("recipe main [\n"
-          "  1:integer, 2:integer <- copy 23:literal\n"
-          "]\n");
-  CHECK_TRACE_CONTENTS("parse", "instruction: 1  ingredient: {name: \"23\", type: 0}  product: {name: \"1\", type: 1}  product: {name: \"2\", type: 1}");
-}
-
-TEST(literal)
-  compile("recipe main [\n"
-          "  1:integer <- copy 23:literal\n"
-          "]\n");
-  run("main");
-  CHECK_EQ(Memory[1], 23);
-}