From 939f2003efd1c7f5af9aee713f55ffbe9d825a00 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 26 Sep 2014 18:01:03 -0400 Subject: [PATCH] Removed now useless network sturct size tests. --- auto_tests/network_test.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/auto_tests/network_test.c b/auto_tests/network_test.c index 9d07fbb4..c1ac8084 100644 --- a/auto_tests/network_test.c +++ b/auto_tests/network_test.c @@ -134,22 +134,12 @@ START_TEST(test_ip_equal) } END_TEST -START_TEST(test_struct_sizes) -{ - ck_assert_msg(sizeof(IP4) == 4, "sizeof(IP4): expected result 4, got %u.", sizeof(IP4)); - ck_assert_msg(sizeof(IP6) == 16, "sizeof(IP6): expected result 16, got %u.", sizeof(IP6)); - ck_assert_msg(sizeof(IP) == 17, "sizeof(IP): expected result 17, got %u.", sizeof(IP)); - ck_assert_msg(sizeof(IP_Port) == 19, "sizeof(IP_Port): expected result 19, got %u.", sizeof(IP_Port)); -} -END_TEST - Suite *network_suite(void) { Suite *s = suite_create("Network"); DEFTESTCASE(addr_resolv_localhost); DEFTESTCASE(ip_equal); - DEFTESTCASE(struct_sizes); return s; }