Skip to content

Commit

Permalink
Add completion time to test output
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 10, 2024
1 parent 02e25f1 commit 8f69004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 8f69004

Please sign in to comment.