Does anyone here write unit tests for your Assembly Language projects?
What is your preferred coding format for doing so?
The below is my approach. ARYINS is the routine being tested. AEQ and ANEQ stand for "Assert Equal" and "Assert Not Equal", respectively. They are comparing the contents of R0 and R1.
* Insert an element at the middle of
* an array.
* Grow array and move it.
* No empty block follows the original.
TEXT 'Array should have moved.'
TEXT 'Element address should be '
TEXT 'directly after the third '