//Tests the create function int test_hmap_1() { hmap_handle* hmap1 = hmap_create(); hmap_handle* hmap2 = hmap_create_fixed(3); if (!hmap1) { os_printf("expected value"); return TEST_FAIL; } if (!hmap2) { os_printf("expected value"); return TEST_FAIL; } return TEST_OK; }
hmap_handle* hmap_create(){ return hmap_create_fixed(TABLE_STARTSIZE); };