diff --git a/src/tests.asm b/src/tests.asm index b883f01..5ab1e9c 100644 --- a/src/tests.asm +++ b/src/tests.asm @@ -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