test completeness, couple semantics
This commit is contained in:
@@ -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
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user