diff --git a/test.c b/test.c deleted file mode 100644 index 7e0e5f859b9bce67beefe64c85576d5b64eeed06..0000000000000000000000000000000000000000 --- a/test.c +++ /dev/null @@ -1,43 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> -#include "projet_3.h" - -void test_is_div(void){ - CU_ASSERT_TRUE(is_div(14,7)); -} - - - - -if (CUE_SUCCESS != CU_initialize_registry()) -{ - return CU_get_error(); -} - -int setup(void){ - return 0; -} - -int teardown(void) -{ - return 0; -} -CU_pSuite pSuite = NULL; - -pSuite = CU_add_suite("ma_suite",setup,teardown); - -if (NULL == pSuite) -{ - CU_cleanup_registry(); - return CU_get_error(); -} - -if (NULL == CU_add_test(pSuite,"test_is_div",test_is_div)) -{ - CU_cleanup_registry(); - return CU_get_error(); -} - - -CU_basic_run_tests(); -CU_basic_show_failures(CU_get_failure_list()); \ No newline at end of file