From 387a73b7c207deb5c03854b0b1943002c040cac4 Mon Sep 17 00:00:00 2001 From: jzimer_uclouvain <jean-baudouin.zimer@student.uclouvain.be> Date: Fri, 27 Mar 2020 17:32:52 +0100 Subject: [PATCH] =?UTF-8?q?test.c=20supprim=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.c | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 test.c diff --git a/test.c b/test.c deleted file mode 100644 index 7e0e5f8..0000000 --- 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 -- GitLab