test_area.c 331 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/**
* This is a test for area in $package$
*/
#include "si_test.h"
#include "area.h"


TEST_FUNC(area) {
  Area  * area;
  Thing * thing;

  area  = area_new();
  // thing = thing_new()
  TEST_NOTNULL(area);
  TEST_NULL(area_free(area));  
  TEST_DONE();
}


int main(void) {
  TEST_INIT();
  TEST_RUN(area);
  TEST_REPORT();
}