882b2549 Sep 1, 2025, 8:16:01 AM (UTC)
Celine C.
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
87 % complete
Suggestions
-
Revise incorrect test
TextFormatterTest.handlesExtraCharactersAfterBrace. The test failed on line 79 when run against a reference implementation:AssertionFailedError: expected: <Am 04.08.2024 ist etwas los> but was: <Am 04.08.2024 ist etwas los.> -
Testen, dass das Resultat von
CasualDateTimeFormat.formatDateden korrekten Monatsnamen enthält. The test suite already does this partially, but it only detects 12 out of 13 possible bugs in this regard. -
Testen, dass man ein
TextFormatter-Objekt erstellen kann, die Methodeformatvorhanden ist und dass beim Formatieren eines leeren Textes wieder ein leerer Text zurückgegeben wird. The test suite already does this partially, but it only detects 1 out of 2 possible bugs in this regard. -
Testen, dass das Ersetzen in
TextFormatter.formatauch funktioniert, wenn ein Datum oder eine Zeit ganz am Anfang eines Texts steht. The test suite already does this partially, but it only detects 1 out of 3 possible bugs in this regard.
Implementation
53 % complete
11 / 18 Tests
- CasualDateTimeFormatTest.casualDateFormatting2000s: Passed
- CasualDateTimeFormatTest.casualDateFormattingBefore2000: Failed
- CasualDateTimeFormatTest.testDateFormattingAfter2099: Passed
- CasualDateTimeFormatTest.testTimeFormattingExactHour: Passed
- CasualDateTimeFormatTest.testTimeFormattingWithMinutes: Passed
- FormalDateTimeFormatTest.formalDateFormattingShortYear: Passed
- FormalDateTimeFormatTest.formalDateFormattingSingleDigitDayAndMonth: Passed
- FormalDateTimeFormatTest.formalDateFormattingStandardYear: Passed
- FormalDateTimeFormatTest.formalTimeFormattingFullTime: Passed
- FormalDateTimeFormatTest.formalTimeFormattingZeroMinutes: Passed
- TextFormatterTest.formatsMultiplePlaceholders: Failed
- TextFormatterTest.formatsSingleDateWithFormalFormatter: Failed
- TextFormatterTest.formatsTimeWithFormalFormatter: Failed
- TextFormatterTest.formatsWithCasualFormatter: Failed
- TextFormatterTest.handlesExtraCharactersAfterBrace: Failed
- TextFormatterTest.ignoresUnopenedPlaceholders: Passed
- TextFormatterTest.returnsTextUnchangedIfNoPlaceholders: Passed
- TextFormatterTest.trailingCharactersAfterPlaceholderAreKept: Failed
Other Submissions
-
6051bce5
Sep 22, 2025, 7:07:10 AM (UTC)
-
882b2549
Sep 1, 2025, 8:16:01 AM (UTC)
-
4159e739
Sep 1, 2025, 7:54:21 AM (UTC)
-
f0871a37
Aug 4, 2025, 9:53:41 PM (UTC)
-
0e79979c
Aug 4, 2025, 9:33:51 PM (UTC)
-
77c08e96
Aug 4, 2025, 9:30:43 PM (UTC)
-
1b37f323
Aug 4, 2025, 9:16:22 PM (UTC)
-
19e868c5
Aug 4, 2025, 12:14:49 PM (UTC)
-
e68e0769
Aug 4, 2025, 9:49:48 AM (UTC)
-
81d00db1
Aug 4, 2025, 9:33:18 AM (UTC)
-
b4355ad6
Aug 4, 2025, 9:01:28 AM (UTC)
-
532584a8
Aug 4, 2025, 8:55:37 AM (UTC)
-
3f97e5df
Aug 4, 2025, 8:41:20 AM (UTC)
-
2bec8f4d
Aug 4, 2025, 7:09:32 AM (UTC)