diff options
Diffstat (limited to 'twasm/asm/tests.asm')
| -rw-r--r-- | twasm/asm/tests.asm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/twasm/asm/tests.asm b/twasm/asm/tests.asm index 9d24b81..23e0178 100644 --- a/twasm/asm/tests.asm +++ b/twasm/asm/tests.asm @@ -13,6 +13,8 @@ run_tests: mov rsi, .msg call print.test + call test_completeness + call clear_test_arena call test_djb2 @@ -47,6 +49,27 @@ run_tests: .msg db "running test suite...", 0x0A, 0x00 ; ------------------------------------------------------------------------------ +; test_completeness +; +; description: +; visual confirmation of binary integrity +; ------------------------------------------------------------------------------ + +test_completeness: + mov rsi, .msg + call print.test + mov rsi, .msg_content + call print + mov rsi, msg_end + call print + mov rsi, .msg_confirm + call print + ret + .msg db "test_completeness...", 0x0A, 0x00 + .msg_content db " here is the ", 0x00 + .msg_confirm db " here is the end of the binary ->|", 0x0A, " assert: the previous 2 lines are identical", 0x0A, 0x00 + +; ------------------------------------------------------------------------------ ; test_elemb ; ; description: |
