From 908aa7769ed5d2efe879395d577df00ab0b491fb Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 1 May 2018 01:57:35 +0200 Subject: Enable problematic test --- src/eurm_test.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/eurm_test.ml') diff --git a/src/eurm_test.ml b/src/eurm_test.ml index a86a1b2..cfb1e69 100644 --- a/src/eurm_test.ml +++ b/src/eurm_test.ml @@ -22,13 +22,13 @@ let () = let output = run_eurm_prgm "../examples/add.eurm" [Reg(1, 5); Reg(2, 3)] in Assertion.equal (regs_get output 1) (5 + 3)) -(*let () = +let () = Test.add_simple_test ~title:"example_eurm_factorial" (fun () -> let output = run_eurm_prgm "../examples/factorial.eurm" [Reg(1, 5)] in Assertion.equal (regs_get output 1) 120) -*) + let () = Test.add_simple_test ~title:"example_eurm_sum_first_integers" -- cgit v1.2.3