test_area.c 331 B

123456789101112131415161718192021222324252627
  1. /**
  2. * This is a test for area in $package$
  3. */
  4. #include "si_test.h"
  5. #include "area.h"
  6. TEST_FUNC(area) {
  7. Area * area;
  8. Thing * thing;
  9. area = area_new();
  10. // thing = thing_new()
  11. TEST_NOTNULL(area);
  12. TEST_NULL(area_free(area));
  13. TEST_DONE();
  14. }
  15. int main(void) {
  16. TEST_INIT();
  17. TEST_RUN(area);
  18. TEST_REPORT();
  19. }