This shows you the differences between two versions of the page.
pcb:unit_tests [2018/08/31 17:36] cparker created |
pcb:unit_tests [2019/01/01 11:21] (current) cparker |
||
---|---|---|---|
Line 9: | Line 9: | ||
In the actual code, you can wrap the unit test stuff in: | In the actual code, you can wrap the unit test stuff in: | ||
+ | <code> | ||
#ifdef PCB_UNIT_TEST | #ifdef PCB_UNIT_TEST | ||
#endif /* PCB_UNIT_TEST */ | #endif /* PCB_UNIT_TEST */ | ||
+ | </code> | ||
so that it doesn't bog things down when not testing. Does it really bog things down when not testing?? | so that it doesn't bog things down when not testing. Does it really bog things down when not testing?? |