Skip to content

Commit 4287e1e

Browse files
removing cases for array
1 parent 49b8b2c commit 4287e1e

File tree

2 files changed

+0
-102
lines changed

2 files changed

+0
-102
lines changed

code/tests/cases/test_tdd.c

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -767,52 +767,6 @@ FOSSIL_TEST_CASE(c_assume_run_of_cstr) {
767767
ASSUME_ITS_LENGTH_EQUAL_CSTR(str1, 5);
768768
} // end case
769769

770-
FOSSIL_TEST_CASE(c_assume_run_of_equal_array) {
771-
int actual[] = {1, 2, 3, 4, 5};
772-
int expected[] = {1, 2, 3, 4, 5};
773-
size_t length = 5;
774-
775-
// Test cases
776-
ASSUME_ITS_EQUAL_ARRAY(actual, expected, length);
777-
} // end case
778-
779-
FOSSIL_TEST_CASE(c_assume_run_of_not_equal_array) {
780-
int actual[] = {1, 2, 3, 4, 5};
781-
int expected[] = {5, 4, 3, 2, 1};
782-
size_t length = 5;
783-
784-
// Test cases
785-
ASSUME_NOT_EQUAL_ARRAY(actual, expected, length);
786-
} // end case
787-
788-
FOSSIL_TEST_CASE(c_assume_run_of_length_equal_array) {
789-
size_t actual_length = 5;
790-
size_t expected_length = 5;
791-
792-
// Test cases
793-
ASSUME_ITS_LENGTH_EQUAL_ARRAY(actual_length, expected_length);
794-
} // end case
795-
796-
FOSSIL_TEST_CASE(c_assume_run_of_within_range_array) {
797-
int array[] = {1, 2, 3, 4, 5};
798-
int min = 1;
799-
int max = 5;
800-
size_t length = 5;
801-
802-
// Test cases
803-
ASSUME_ITS_WITHIN_RANGE_ARRAY(array, min, max, length);
804-
} // end case
805-
806-
FOSSIL_TEST_CASE(c_assume_run_of_not_within_range_array) {
807-
int array[] = {1, 2, 3, 4, 5};
808-
int min = 6;
809-
int max = 10;
810-
size_t length = 5;
811-
812-
// Test cases
813-
ASSUME_NOT_WITHIN_RANGE_ARRAY(array, min, max, length);
814-
} // end case
815-
816770
// * * * * * * * * * * * * * * * * * * * * * * * *
817771
// * Fossil Logic Test Pool
818772
// * * * * * * * * * * * * * * * * * * * * * * * *
@@ -882,11 +836,6 @@ FOSSIL_TEST_GROUP(c_tdd_test_cases) {
882836
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_wstr);
883837
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_bstr);
884838
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_cstr);
885-
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_equal_array);
886-
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_not_equal_array);
887-
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_length_equal_array);
888-
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_within_range_array);
889-
FOSSIL_TEST_ADD(c_tdd_suite, c_assume_run_of_not_within_range_array);
890839

891840
FOSSIL_TEST_REGISTER(c_tdd_suite);
892841
} // end of group

code/tests/cases/test_tdd.cpp

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -767,52 +767,6 @@ FOSSIL_TEST_CASE(cpp_assume_run_of_cstr) {
767767
ASSUME_ITS_LENGTH_EQUAL_CSTR(str1, 5);
768768
} // end case
769769

770-
FOSSIL_TEST_CASE(cpp_assume_run_of_equal_array) {
771-
int actual[] = {1, 2, 3, 4, 5};
772-
int expected[] = {1, 2, 3, 4, 5};
773-
size_t length = 5;
774-
775-
// Test cases
776-
ASSUME_ITS_EQUAL_ARRAY(actual, expected, length);
777-
} // end case
778-
779-
FOSSIL_TEST_CASE(cpp_assume_run_of_not_equal_array) {
780-
int actual[] = {1, 2, 3, 4, 5};
781-
int expected[] = {5, 4, 3, 2, 1};
782-
size_t length = 5;
783-
784-
// Test cases
785-
ASSUME_NOT_EQUAL_ARRAY(actual, expected, length);
786-
} // end case
787-
788-
FOSSIL_TEST_CASE(cpp_assume_run_of_length_equal_array) {
789-
size_t actual_length = 5;
790-
size_t expected_length = 5;
791-
792-
// Test cases
793-
ASSUME_ITS_LENGTH_EQUAL_ARRAY(actual_length, expected_length);
794-
} // end case
795-
796-
FOSSIL_TEST_CASE(cpp_assume_run_of_within_range_array) {
797-
int array[] = {1, 2, 3, 4, 5};
798-
int min = 1;
799-
int max = 5;
800-
size_t length = 5;
801-
802-
// Test cases
803-
ASSUME_ITS_WITHIN_RANGE_ARRAY(array, min, max, length);
804-
} // end case
805-
806-
FOSSIL_TEST_CASE(cpp_assume_run_of_not_within_range_array) {
807-
int array[] = {1, 2, 3, 4, 5};
808-
int min = 6;
809-
int max = 10;
810-
size_t length = 5;
811-
812-
// Test cases
813-
ASSUME_NOT_WITHIN_RANGE_ARRAY(array, min, max, length);
814-
} // end case
815-
816770
// * * * * * * * * * * * * * * * * * * * * * * * *
817771
// * Fossil Logic Test Pool
818772
// * * * * * * * * * * * * * * * * * * * * * * * *
@@ -882,11 +836,6 @@ FOSSIL_TEST_GROUP(cpp_tdd_test_cases) {
882836
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_wstr);
883837
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_bstr);
884838
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_cstr);
885-
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_equal_array);
886-
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_not_equal_array);
887-
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_length_equal_array);
888-
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_within_range_array);
889-
FOSSIL_TEST_ADD(cpp_tdd_suite, cpp_assume_run_of_not_within_range_array);
890839

891840
FOSSIL_TEST_REGISTER(cpp_tdd_suite);
892841
} // end of group

0 commit comments

Comments
 (0)