Skip to content

Commit 753cb4c

Browse files
Update test_soap.c
1 parent c552017 commit 753cb4c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

code/tests/cases/test_soap.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -233,18 +233,6 @@ FOSSIL_TEST(c_test_io_soap_normalize_informal) {
233233
free(result);
234234
}
235235

236-
FOSSIL_TEST(c_test_io_soap_detect_sentiment_positive) {
237-
const char *input = "I love working with you!";
238-
const char *expected = "positive";
239-
ASSUME_ITS_EQUAL_CSTR(expected, fossil_io_soap_detect_sentiment(input));
240-
}
241-
242-
FOSSIL_TEST(c_test_io_soap_detect_sentiment_negative) {
243-
const char *input = "This is the worst experience ever.";
244-
const char *expected = "negative";
245-
ASSUME_ITS_EQUAL_CSTR(expected, fossil_io_soap_detect_sentiment(input));
246-
}
247-
248236
FOSSIL_TEST(c_test_io_soap_normalize_slang_basic) {
249237
const char *input = "idk why ppl do that lol";
250238
const char *expected = "I don't know why people do that.";
@@ -281,12 +269,6 @@ FOSSIL_TEST(c_test_io_soap_detect_clickbait_false) {
281269
ASSUME_ITS_TRUE(fossil_io_soap_detect_clickbait(input) == 0);
282270
}
283271

284-
FOSSIL_TEST(c_test_io_soap_politeness_score_range) {
285-
const char *input = "Could you please help me with this task?";
286-
float score = fossil_io_soap_politeness_score(input);
287-
ASSUME_ITS_TRUE(score >= 0.0f && score <= 1.0f);
288-
}
289-
290272
// * * * * * * * * * * * * * * * * * * * * * * * *
291273
// * Fossil Logic Test Pool
292274
// * * * * * * * * * * * * * * * * * * * * * * * *
@@ -317,15 +299,12 @@ FOSSIL_TEST_GROUP(c_soap_tests) {
317299
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_check_grammar_valid);
318300
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_check_grammar_error);
319301
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_normalize_informal);
320-
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_sentiment_positive);
321-
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_sentiment_negative);
322302
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_normalize_slang_basic);
323303
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_exaggeration_true);
324304
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_exaggeration_false);
325305
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_filter_offensive_basic);
326306
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_clickbait_true);
327307
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_detect_clickbait_false);
328-
FOSSIL_TEST_ADD(c_soap_suite, c_test_io_soap_politeness_score_range);
329308

330309
FOSSIL_TEST_REGISTER(c_soap_suite);
331310
}

0 commit comments

Comments
 (0)