@@ -245,16 +245,6 @@ FOSSIL_TEST(c_test_io_soap_detect_sentiment_negative) {
245
245
ASSUME_ITS_EQUAL_CSTR (expected , fossil_io_soap_detect_sentiment (input ));
246
246
}
247
247
248
- FOSSIL_TEST (c_test_io_soap_detect_harmful_true ) {
249
- const char * input = "People like you shouldn't exist." ;
250
- ASSUME_ITS_TRUE (fossil_io_soap_detect_harmful_content (input ) == 1 );
251
- }
252
-
253
- FOSSIL_TEST (c_test_io_soap_detect_harmful_false ) {
254
- const char * input = "I disagree with your opinion." ;
255
- ASSUME_ITS_TRUE (fossil_io_soap_detect_harmful_content (input ) == 0 );
256
- }
257
-
258
248
FOSSIL_TEST (c_test_io_soap_normalize_slang_basic ) {
259
249
const char * input = "idk why ppl do that lol" ;
260
250
const char * expected = "I don't know why people do that." ;
@@ -263,20 +253,6 @@ FOSSIL_TEST(c_test_io_soap_normalize_slang_basic) {
263
253
free (result );
264
254
}
265
255
266
- FOSSIL_TEST (c_test_io_soap_correct_grammar_common ) {
267
- const char * input = "He go to work every day." ;
268
- const char * expected = "He goes to work every day." ;
269
- char * result = fossil_io_soap_correct_grammar (input );
270
- ASSUME_ITS_EQUAL_CSTR (expected , result );
271
- free (result );
272
- }
273
-
274
- FOSSIL_TEST (c_test_io_soap_evaluate_readability_score ) {
275
- const char * input = "The cat sat on the mat." ;
276
- float score = fossil_io_soap_evaluate_readability (input );
277
- ASSUME_ITS_TRUE (score > 0.0 );
278
- }
279
-
280
256
FOSSIL_TEST (c_test_io_soap_detect_exaggeration_true ) {
281
257
const char * input = "This is the worst thing to ever happen in history!" ;
282
258
ASSUME_ITS_TRUE (fossil_io_soap_detect_exaggeration (input ) == 1 );
@@ -305,26 +281,6 @@ FOSSIL_TEST(c_test_io_soap_detect_clickbait_false) {
305
281
ASSUME_ITS_TRUE (fossil_io_soap_detect_clickbait (input ) == 0 );
306
282
}
307
283
308
- FOSSIL_TEST (c_test_io_soap_detect_fallacy_ad_hominem ) {
309
- const char * input = "You can't trust his argument because he's ugly." ;
310
- const char * expected = "ad hominem" ;
311
- const char * result = fossil_io_soap_detect_fallacy (input );
312
- ASSUME_ITS_EQUAL_CSTR (expected , result );
313
- }
314
-
315
- FOSSIL_TEST (c_test_io_soap_detect_fallacy_none ) {
316
- const char * input = "We should implement this plan because it has proven benefits." ;
317
- ASSUME_ITS_TRUE (fossil_io_soap_detect_fallacy (input ) == NULL );
318
- }
319
-
320
- FOSSIL_TEST (c_test_io_soap_summarize_simple ) {
321
- const char * input = "The project aims to reduce emissions by introducing cleaner technologies and improving energy efficiency across sectors." ;
322
- const char * expected = "Project reduces emissions." ;
323
- char * result = fossil_io_soap_summarize (input );
324
- ASSUME_ITS_EQUAL_CSTR (expected , result );
325
- free (result );
326
- }
327
-
328
284
FOSSIL_TEST (c_test_io_soap_politeness_score_range ) {
329
285
const char * input = "Could you please help me with this task?" ;
330
286
float score = fossil_io_soap_politeness_score (input );
@@ -363,19 +319,12 @@ FOSSIL_TEST_GROUP(c_soap_tests) {
363
319
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_normalize_informal );
364
320
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_sentiment_positive );
365
321
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_sentiment_negative );
366
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_harmful_true );
367
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_harmful_false );
368
322
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_normalize_slang_basic );
369
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_correct_grammar_common );
370
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_evaluate_readability_score );
371
323
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_exaggeration_true );
372
324
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_exaggeration_false );
373
325
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_filter_offensive_basic );
374
326
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_clickbait_true );
375
327
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_clickbait_false );
376
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_fallacy_ad_hominem );
377
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_detect_fallacy_none );
378
- FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_summarize_simple );
379
328
FOSSIL_TEST_ADD (c_soap_suite , c_test_io_soap_politeness_score_range );
380
329
381
330
FOSSIL_TEST_REGISTER (c_soap_suite );
0 commit comments