Replace test comments with assertions

This commit is contained in:
Rangi42
2025-07-18 07:40:01 -04:00
parent e99ff5ac45
commit 9a9fd6603c
4 changed files with 14 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
SECTION "fixed", ROM0[0]
jr @
; We need this section to be floating because RGBASM can know the value of PC
; otherwise, leading to different behavior
; FIXME: we rely on this landing at address 2, which isn't *guaranteed*...
SECTION "floating", ROM0
jr @
; We rely on this landing at address $0002, which isn't *guaranteed*...
assert STARTOF("floating") == 2

View File

@@ -3,8 +3,10 @@ SECTION "fixed", ROM0[420]
ds 69
PRINTLN "{@}"
; FIXME: expected to land at $0000
SECTION "floating", ROM0
db @
ds 42
db @
; We rely on this landing at address $0000, which isn't *guaranteed*...
assert STARTOF("floating") == 0