예제 #1
0
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);
}
예제 #2
0
void test_sd_af_create(void) {
    af_file = sd_af_create();
    CU_ASSERT_PTR_NOT_NULL_FATAL(af_file);
}