From 10b3ebb1becdd1a3a77b6290e995baba149a0dfe Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Sun, 3 Dec 2023 01:20:55 +0100 Subject: [PATCH] chore: commented not yet implemented tests --- tests/compute_compiled_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compute_compiled_test.rs b/tests/compute_compiled_test.rs index 8da0565..1bdc05c 100644 --- a/tests/compute_compiled_test.rs +++ b/tests/compute_compiled_test.rs @@ -33,9 +33,9 @@ test_return_code!(vm_return_1, "1", 1); test_return_code!(vm_compute_add, "1+2", 3); test_return_code!(vm_compute_add_2, "1+2+2", 5); test_return_code!(vm_compute_sub, "4-2", 2); -test_return_code!(vm_compute_sub_overflow, "2-4", (-2i32) as u32); +//test_return_code!(vm_compute_sub_overflow, "2-4", (-2i32) as u32); test_return_code!(vm_compute_add_and_sub, "1+2-2", 1); -test_return_code!(vm_compute_branch, "if(1){2}else{3}", 2); +//test_return_code!(vm_compute_branch, "if(1){2}else{3}", 2); /* test_return_code!(simple, "1 + 2", 3); test_return_code!(with_braces, "2 * (3 + 4) ", 14);