void test_sd_af_create(void) { int ret; ret = sd_af_create(&af); CU_ASSERT(ret == SD_SUCCESS); ret = sd_af_create(NULL); CU_ASSERT(ret == SD_INVALID_INPUT); }
void test_sd_af_create(void) { af_file = sd_af_create(); CU_ASSERT_PTR_NOT_NULL_FATAL(af_file); }