assert.c 247 B

1234567891011121314
  1. #include <assert.h>
  2. #include <stdlib.h>
  3. #include <stdio.h>
  4. int main() {
  5. assert(1 == 1);
  6. assert(1 + 1 == 2);
  7. puts("yay!");
  8. //This fails, but I can't test it because that'd
  9. //make the test fail lol
  10. //assert(42 == 1337);
  11. }