From e47e3522bce2d26a8cce481a73a4c9f12f18b607 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Fri, 24 Jan 2025 10:22:58 -0500 Subject: [PATCH] Print the expected and actual output in the tests --- tiger/tests/test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tiger/tests/test.rs b/tiger/tests/test.rs index 82f363c..e379d97 100644 --- a/tiger/tests/test.rs +++ b/tiger/tests/test.rs @@ -83,6 +83,8 @@ fn test_execution() { if output != expected_output { success = false; println!(" FAIL"); + println!("Expected: {}", expected_output); + println!("Actual: {}\n====================", output); failure_count += 1; } else {