546b7344 Aug 17, 2025, 3:05:16 PM (UTC)
Diego M.
A newer submission is available.
Some tests are incorrect: They fail when run against a reference implementation. The test suite score has been reduced.
Test Suite
40 % complete
Suggestions
-
Revise incorrect test
CasualDateTimeFormatTest.rejects_invalid_month(int, int, int). The test failed on line 64 when run against a reference implementation:AssertionFailedError: Unexpected exception type thrown, expected: <java.lang.IllegalArgumentException> but was: <java.lang.ArrayIndexOutOfBoundsException> -
Revise incorrect test
FormalDateTimeFormatTest.formats_time_and_rejects_invalid. The test failed on line 50 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.rejects_invalid_day(int, int, int). The test failed on line 89 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.rejects_invalid_day_in_april. The test failed on line 33 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.rejects_invalid_month. The test failed on line 26 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.rejects_invalid_month(int, int, int). The test failed on line 77 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.rejects_invalid_time(int, int). The test failed on line 111 when run against a reference implementation:AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. -
Revise incorrect test
FormalDateTimeFormatTest.year_is_not_padded. The test failed on line 20 when run against a reference implementation:AssertionFailedError: expected: <05.11.934> but was: <05.11.0934> -
Revise incorrect test
TextFormatterTest.replaces_with_casual_year_rule. The test failed on line 33 when run against a reference implementation:AssertionFailedError: expected: <Abgabe bis 19.02.24 um 09:05.> but was: <Abgabe bis 19. Februar '24 um 9 Uhr 5> -
Revise incorrect test
TextFormatterTest.single_time_with_punctuation. The test failed on line 43 when run against a reference implementation:AssertionFailedError: expected: <Es beginnt um 09:00.> but was: <Es beginnt um 09:00> -
Testen, dass
FormalDateTimeFormatein Datum auch dann korrekt formatiert, wenn das Jahr weniger als vier Ziffern hat. -
Testen, dass das Resultat von
CasualDateTimeFormat.formatDateden korrekten Monatsnamen enthält. The test suite already does this partially, but it only detects 5 out of 13 possible bugs in this regard. -
Testen, dass
CasualDateTimeFormatauch Daten ausserhalb der Jahre 2000 – 2099 korrekt formatiert. The test suite already does this partially, but it only detects 2 out of 5 possible bugs in this regard.
Implementation
32 % complete
16 / 20 Tests
- CasualDateTimeFormatTest.formats_valid_dates(int, int, int, java.lang.String): Passed
- CasualDateTimeFormatTest.casual_formatDate_contains_correct_month_name: Passed
- CasualDateTimeFormatTest.casual_has_formatDate_and_formatTime_and_is_instantiable: Passed
- CasualDateTimeFormatTest.formal_formats_year_with_less_than_four_digits_correctly: Failed
- CasualDateTimeFormatTest.formats_valid_time(int, int, java.lang.String): Failed
- CasualDateTimeFormatTest.rejects_invalid_month(int, int, int): Passed
- FormalDateTimeFormatTest.formats_valid_dates(int, int, int, java.lang.String): Failed
- FormalDateTimeFormatTest.rejects_invalid_month(int, int, int): Passed
- FormalDateTimeFormatTest.rejects_invalid_day(int, int, int): Passed
- FormalDateTimeFormatTest.formats_valid_time(int, int, java.lang.String): Passed
- FormalDateTimeFormatTest.rejects_invalid_time(int, int): Passed
- FormalDateTimeFormatTest.formats_simple: Passed
- FormalDateTimeFormatTest.formats_time_and_rejects_invalid: Passed
- FormalDateTimeFormatTest.rejects_invalid_day_in_april: Passed
- FormalDateTimeFormatTest.rejects_invalid_month: Passed
- FormalDateTimeFormatTest.year_is_not_padded: Passed
- TextFormatterTest.keeps_plain_text_unchanged: Passed
- TextFormatterTest.replaces_date_and_time_formal: Passed
- TextFormatterTest.replaces_with_casual_year_rule: Failed
- TextFormatterTest.single_time_with_punctuation: Passed
Other Submissions
-
05cee9af
Aug 19, 2025, 2:04:22 PM (UTC)
-
84eff777
Aug 19, 2025, 1:57:31 PM (UTC)
-
c8772a33
Aug 19, 2025, 1:53:55 PM (UTC)
-
fc69b940
Aug 19, 2025, 1:15:29 PM (UTC)
-
5cd95d3f
Aug 18, 2025, 7:39:57 AM (UTC)
-
546b7344
Aug 17, 2025, 3:05:16 PM (UTC)
-
07306add
Aug 17, 2025, 2:55:03 PM (UTC)
-
6b8f5024
Aug 17, 2025, 2:46:45 PM (UTC)
-
71813e61
Aug 17, 2025, 2:39:52 PM (UTC)
-
436646fa
Aug 17, 2025, 12:39:38 PM (UTC)
-
3272cb25
Aug 17, 2025, 11:52:12 AM (UTC)
-
c59cf403
Aug 17, 2025, 11:09:18 AM (UTC)