Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .prereq NONE
- SET A, B
- .prereq ALL
- SET B, C
- .prereq Test1,Test2
- .unit Test1
- SET A, [0x8000]
- JSR someSubroutine
- .ASSERT A==12
- .ASSERT [0x8002]!=12
- .endunit
- >organic.exe --export-tests example.unit --input-file example.dasm
- ...
- >dunit.exe example.unit Test1
- START Test1
- [0x1234] ASSERT A == 12 TRUE
- [0x1234] ASSERT [0x8002] != 12 FALSE
- Test1 FAIL
Advertisement
Add Comment
Please, Sign In to add comment