feat: some more tests, a checkpoint

This commit is contained in:
Barrett Ruth 2025-09-19 12:36:04 -04:00
parent 5ca6b8b272
commit 56c52124ec
5 changed files with 170 additions and 2 deletions

View file

@ -13,7 +13,7 @@ local function get_status_info(test_case)
elseif test_case.status == 'fail' then
if test_case.timed_out then
return { text = 'TLE', highlight_group = 'CpTestError' }
elseif test_case.code and test_case.code ~= 0 then
elseif test_case.code and test_case.code >= 128 then
return { text = 'RTE', highlight_group = 'CpTestError' }
else
return { text = 'WA', highlight_group = 'CpTestError' }