From 51728d9334f642958f80bf442b40a76decdccafe Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 19 Aug 2017 05:53:31 -0700 Subject: 3971 --- html/071recipe.cc.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/071recipe.cc.html') diff --git a/html/071recipe.cc.html b/html/071recipe.cc.html index cc5eec00..4765419f 100644 --- a/html/071recipe.cc.html +++ b/html/071recipe.cc.html @@ -306,26 +306,26 @@ if ('onhashchange' in window) { 242 void test_from_reagent_atomic() { 243 reagent a("{f: recipe}"); 244 recipe r_header = from_reagent(a); -245 CHECK(r_header.ingredients.empty()); -246 CHECK(r_header.products.empty()); +245 CHECK(r_header.ingredients.empty()); +246 CHECK(r_header.products.empty()); 247 } 248 void test_from_reagent_non_atomic() { 249 reagent a("{f: (recipe number -> number)}"); 250 recipe r_header = from_reagent(a); -251 CHECK_EQ(SIZE(r_header.ingredients), 1); -252 CHECK_EQ(SIZE(r_header.products), 1); +251 CHECK_EQ(SIZE(r_header.ingredients), 1); +252 CHECK_EQ(SIZE(r_header.products), 1); 253 } 254 void test_from_reagent_reads_ingredient_at_end() { 255 reagent a("{f: (recipe number number)}"); 256 recipe r_header = from_reagent(a); -257 CHECK_EQ(SIZE(r_header.ingredients), 2); -258 CHECK(r_header.products.empty()); +257 CHECK_EQ(SIZE(r_header.ingredients), 2); +258 CHECK(r_header.products.empty()); 259 } 260 void test_from_reagent_reads_sole_ingredient_at_end() { 261 reagent a("{f: (recipe number)}"); 262 recipe r_header = from_reagent(a); -263 CHECK_EQ(SIZE(r_header.ingredients), 1); -264 CHECK(r_header.products.empty()); +263 CHECK_EQ(SIZE(r_header.ingredients), 1); +264 CHECK(r_header.products.empty()); 265 } 266 267 :(code) -- cgit 1.4.1-2-gfad0