test completeness, couple semantics

This commit is contained in:
andromeda
2026-03-23 22:27:52 +01:00
parent 9233ca421b
commit f4f0f50d80
2 changed files with 29 additions and 4 deletions

View File

@@ -13,6 +13,8 @@ run_tests:
mov rsi, .msg
call print.test
call test_completeness
call clear_test_arena
call test_djb2
@@ -46,6 +48,27 @@ run_tests:
ret
.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
;