@@ -151,6 +151,84 @@ FOSSIL_TEST(c_test_io_soap_detect_offensive_false) {
151151 ASSUME_ITS_FALSE (result );
152152}
153153
154+ // --- HYPE detection ---
155+ FOSSIL_TEST (c_test_io_soap_detect_hype_true ) {
156+ const char * input = "This is the ultimate revolutionary breakthrough!" ;
157+ int result = fossil_io_soap_detect_hype (input );
158+ ASSUME_ITS_TRUE (result );
159+ }
160+
161+ FOSSIL_TEST (c_test_io_soap_detect_hype_false ) {
162+ const char * input = "This is a regular update to the system." ;
163+ int result = fossil_io_soap_detect_hype (input );
164+ ASSUME_ITS_FALSE (result );
165+ }
166+
167+ // --- QUALITY detection ---
168+ FOSSIL_TEST (c_test_io_soap_detect_quality_true ) {
169+ const char * input = "This research paper follows strict methodology." ;
170+ int result = fossil_io_soap_detect_quality (input );
171+ ASSUME_ITS_TRUE (result );
172+ }
173+
174+ FOSSIL_TEST (c_test_io_soap_detect_quality_false ) {
175+ const char * input = "Wow, this is amazing and unbelievable!" ;
176+ int result = fossil_io_soap_detect_quality (input );
177+ ASSUME_ITS_FALSE (result );
178+ }
179+
180+ // --- POLITICAL detection ---
181+ FOSSIL_TEST (c_test_io_soap_detect_political_true ) {
182+ const char * input = "The government policy affects economic stability." ;
183+ int result = fossil_io_soap_detect_political (input );
184+ ASSUME_ITS_TRUE (result );
185+ }
186+
187+ FOSSIL_TEST (c_test_io_soap_detect_political_false ) {
188+ const char * input = "I enjoy going on long hikes in the mountains." ;
189+ int result = fossil_io_soap_detect_political (input );
190+ ASSUME_ITS_FALSE (result );
191+ }
192+
193+ // --- CONSPIRACY detection ---
194+ FOSSIL_TEST (c_test_io_soap_detect_conspiracy_true ) {
195+ const char * input = "The moon landing was faked by hidden elites." ;
196+ int result = fossil_io_soap_detect_conspiracy (input );
197+ ASSUME_ITS_TRUE (result );
198+ }
199+
200+ FOSSIL_TEST (c_test_io_soap_detect_conspiracy_false ) {
201+ const char * input = "The moon landing happened in 1969." ;
202+ int result = fossil_io_soap_detect_conspiracy (input );
203+ ASSUME_ITS_FALSE (result );
204+ }
205+
206+ // --- MARKETING detection ---
207+ FOSSIL_TEST (c_test_io_soap_detect_marketing_true ) {
208+ const char * input = "Our revolutionary product will change your life forever!" ;
209+ int result = fossil_io_soap_detect_marketing (input );
210+ ASSUME_ITS_TRUE (result );
211+ }
212+
213+ FOSSIL_TEST (c_test_io_soap_detect_marketing_false ) {
214+ const char * input = "This is a technical description of a circuit board." ;
215+ int result = fossil_io_soap_detect_marketing (input );
216+ ASSUME_ITS_FALSE (result );
217+ }
218+
219+ // --- TECHNOBABBLE detection ---
220+ FOSSIL_TEST (c_test_io_soap_detect_technobabble_true ) {
221+ const char * input = "Leveraging synergistic AI-driven blockchain quantum clouds." ;
222+ int result = fossil_io_soap_detect_technobabble (input );
223+ ASSUME_ITS_TRUE (result );
224+ }
225+
226+ FOSSIL_TEST (c_test_io_soap_detect_technobabble_false ) {
227+ const char * input = "The system connects to the server over HTTPS." ;
228+ int result = fossil_io_soap_detect_technobabble (input );
229+ ASSUME_ITS_FALSE (result );
230+ }
231+
154232// filter cases
155233
156234FOSSIL_TEST (c_test_io_soap_add_custom_filter ) {
@@ -326,6 +404,18 @@ FOSSIL_TEST_GROUP(c_soap_tests) {
326404 FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_snowflake_false );
327405 FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_offensive_true );
328406 FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_offensive_false );
407+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_hype_true );
408+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_hype_false );
409+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_quality_true );
410+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_quality_false );
411+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_political_true );
412+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_political_false );
413+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_conspiracy_true );
414+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_conspiracy_false );
415+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_marketing_true );
416+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_marketing_false );
417+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_technobabble_true );
418+ FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_technobabble_false );
329419
330420 // filter tests
331421 FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_add_custom_filter );
0 commit comments