SirCmpwn

Untitled

May 31st, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. .prereq NONE
  2. SET A, B
  3.  
  4. .prereq ALL
  5.  
  6. SET B, C
  7.  
  8. .prereq Test1,Test2
  9.  
  10. .unit Test1
  11. SET A, [0x8000]
  12. JSR someSubroutine
  13. .ASSERT A==12
  14. .ASSERT [0x8002]!=12
  15. .endunit
  16.  
  17. >organic.exe --export-tests example.unit --input-file example.dasm
  18. ...
  19. >dunit.exe example.unit Test1
  20. START Test1
  21. [0x1234] ASSERT A == 12 TRUE
  22. [0x1234] ASSERT [0x8002] != 12 FALSE
  23. Test1 FAIL
Advertisement
Add Comment
Please, Sign In to add comment