#include #include #include "geometry.h" #include "test/test.h" LILY_FILE_BEGIN(geometry_suite) LILY_TEST("fail to read non-float_array") { struct kai_tag_t *t = kai_parse_string( "" ); struct ka_float_array_t arr; int result = kai_read_float_array(&arr, t); CHECK_EQF(result, -1, "%d"); kai_tag_destroy(t); } #include LILY_PUSH_TEST() #define LILY_FILE_END #include LILY_REGISTER_TESTS()