From 8f6900488cac03297f9c3aba6deeac4820169d41 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 9 Sep 2024 22:48:50 -0500 Subject: [PATCH] Add completion time to test output --- lua/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/test.lua b/lua/test.lua index 27fc3a15..f0f0d299 100644 --- a/lua/test.lua +++ b/lua/test.lua @@ -40,7 +40,7 @@ local function check_problem(file_name, expected_answer, is_slow, problem_name) ) end - print("Problem " .. problem_name .. " passed.") + print("Problem " .. problem_name .. " passed (in " .. tostring(elapsed_time) .. "s).") end -- Problems configuration: filename -> {expected_answer, is_slow}