Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "unity/src/unity.h"
- int main(void)
- {
- UNITY_BEGIN();
- int a = 1;
- TEST_ASSERT( a == 1 ); //this one will pass
- TEST_ASSERT( a == 2 ); //this one will fail
- return UNITY_END();
- }
- gcc TestDumbExample.c ./unity/src/unity.c -o Test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement