1 #include <test.h>
2 
3 #include <assoc.h>
4 
test_create_destroy(void)5 static void test_create_destroy(void)
6 {
7     CfAssoc *ap = NewAssoc("hello", (Rval) { "world", RVAL_TYPE_SCALAR }, CF_DATA_TYPE_STRING);
8     DeleteAssoc(ap);
9 }
10 
main()11 int main()
12 {
13     PRINT_TEST_BANNER();
14     const UnitTest tests[] =
15     {
16         unit_test(test_create_destroy),
17     };
18 
19     return run_tests(tests);
20 }
21