FIX unsigned test outputs: %d -> %u

This commit is contained in:
2025-07-21 16:33:07 +02:00
parent 51fc8d5608
commit e8b48e9939

View File

@@ -108,12 +108,12 @@ section .rodata
testMsg_assertILessE db "\t\tassert(output <= %d):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertIMore db "\t\tassert(output > %d):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertIMoreE db "\t\tassert(output >= %d):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertUEqual db "\t\tassert(output == %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertUNEqual db "\t\tassert(output != %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertULess db "\t\tassert(output < %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertULessE db "\t\tassert(output <= %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertUMore db "\t\tassert(output > %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertUMoreE db "\t\tassert(output >= %u):\n\t\t\tExpected:\t%d\n\t\t\tGot:\t\t%d\n\t\t\t%s",NL,EOS
testMsg_assertUEqual db "\t\tassert(output == %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_assertUNEqual db "\t\tassert(output != %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_assertULess db "\t\tassert(output < %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_assertULessE db "\t\tassert(output <= %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_assertUMore db "\t\tassert(output > %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_assertUMoreE db "\t\tassert(output >= %u):\n\t\t\tExpected:\t%u\n\t\t\tGot:\t\t%u\n\t\t\t%s",NL,EOS
testMsg_False db "<!> FAIL",EOS
testMsg_True db "< > OK",EOS
testMsg_Results db "\n*** Test Results ***\n* Total tests:\t\t%d\n* Succeeded tests:\t%d\n* Failed tests:\t\t%d\n",EOS