author | us@chu.huenfield.org |
Tue, 25 Dec 2018 14:46:45 +0100 | |
branch | sync |
changeset 3209 | c15b4ca2b52a |
parent 2676 | 074bceee15b7 |
permissions | -rw-r--r-- |
krista@2676 | 1 |
DOCUMENTATION AND CLEANUP FORTHCOMING. |
krista@2676 | 2 |
|
krista@2676 | 3 |
Engine tests now require libcpptest - if you have compilation failures using your distribution's lib (I'm looking at you, Ubuntu), please download the source at http://cpptest.sourceforge.net/, compile, and run. |
krista@2676 | 4 |
|
krista@2676 | 5 |
New test creation requires python 3.x. |
krista@2676 | 6 |
|
krista@2664 | 7 |
Notes: |
krista@2664 | 8 |
|
krista@2664 | 9 |
- TEST_ASSERT is a macro and does not always behave 100% the way you'd expect. Note the following: |
krista@2664 | 10 |
* 1. If used in if/else blocks, make sure the blocks are guarded, or weird things happen. |
krista@2664 | 11 |
* 2. If performing comparisons, please parenthesise liberally - bitwise operations being compared to 0 should always be parenthesised before comparison |