Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include "unity/src/unity.h"
  2.  
  3. int main(void)
  4. {
  5. UNITY_BEGIN();
  6. int a = 1;
  7. TEST_ASSERT( a == 1 ); //this one will pass
  8. TEST_ASSERT( a == 2 ); //this one will fail
  9. return UNITY_END();
  10. }
  11.  
  12. gcc TestDumbExample.c ./unity/src/unity.c -o Test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement