From 071d39294cd882b899e03559816888837603fa6c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 1 May 2015 22:14:51 -0700 Subject: 1232 --- cpp/049scenario_helpers.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpp/049scenario_helpers.cc b/cpp/049scenario_helpers.cc index a647db33..8e303430 100644 --- a/cpp/049scenario_helpers.cc +++ b/cpp/049scenario_helpers.cc @@ -1,6 +1,8 @@ //: Some pseudo-primitives to support writing tests in mu. //: When we throw out the C layer these will require more work. +//:: 'run' can interpret a string as a set of instructions + :(scenario run) #? % Trace_stream->dump_layer = "all"; recipe main [ @@ -43,6 +45,9 @@ recipe main [ +mem: storing 13 in location 1 +mem: storing 13 in location 2 +//:: memory-should-contain can raise warnings if specific locations aren't as +//:: expected. + :(scenario memory_check) % Hide_warnings = true; recipe main [ -- cgit 1.4.1-2-gfad0