Skip to content

Commit 61d611b

Browse files
add a few more cases
1 parent 8823b3f commit 61d611b

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

code/tests/cases/test_sample.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@ FOSSIL_TEST_CASE(test_has_no_assertions) {
105105
// This test has no assertions
106106
}
107107

108-
FOSSIL_TEST_CASE(test_has_copy_assertions) {
109-
ASSUME_ITS_TRUE(1 == 1);
110-
ASSUME_ITS_TRUE(1 == 1);
111-
}
112-
113108
FOSSIL_TEST_GROUP(c_sample_test_cases) {
114109
FOSSIL_TEST_ADD(sample_suite, test_input_increment);
115110
FOSSIL_TEST_ADD(sample_suite, test_input_decrement);
@@ -119,7 +114,6 @@ FOSSIL_TEST_GROUP(c_sample_test_cases) {
119114
FOSSIL_TEST_ADD(sample_suite, test_input_square);
120115
FOSSIL_TEST_ADD(sample_suite, test_input_equal);
121116
FOSSIL_TEST_ADD(sample_suite, test_has_no_assertions); // Should be detected as empty
122-
FOSSIL_TEST_ADD(sample_suite, test_has_copy_assertions); // Should be detected as a copy cat
123117

124118
FOSSIL_TEST_SKIP(test_should_not_run, "This test should not run");
125119

code/tests/cases/test_sample.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@ FOSSIL_TEST_CASE(cpp_test_has_no_assertions) {
105105
// This test has no assertions
106106
}
107107

108-
FOSSIL_TEST_CASE(cpp_test_has_copy_assertions) {
109-
ASSUME_ITS_TRUE(1 == 1);
110-
ASSUME_ITS_TRUE(1 == 1);
111-
}
112-
113108
FOSSIL_TEST_GROUP(cpp_sample_test_cases) {
114109
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_input_increment);
115110
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_input_decrement);
@@ -119,7 +114,6 @@ FOSSIL_TEST_GROUP(cpp_sample_test_cases) {
119114
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_input_square);
120115
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_input_equal);
121116
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_has_no_assertions); // Should be detected as empty
122-
FOSSIL_TEST_ADD(cpp_sample_suite, cpp_test_has_copy_assertions); // Should be detected as a copy cat
123117

124118
FOSSIL_TEST_SKIP(cpp_test_should_not_run, "This test should not run");
125119

0 commit comments

Comments
 (0)