0e79979c Aug 4, 2025, 9:33:51 PM (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
41 % complete
Suggestions
-
Revise incorrect test
CasualDateTimeFormatTest.casualDateFormattingBefore2000. The test failed on line 21 when run against a reference implementation:AssertionFailedError: expected: <2. Februar 0925> but was: <2. Februar 925> -
Revise incorrect test
TextFormatterTest.formatsMultiplePlaceholders. The test failed on line 39 when run against a reference implementation:AssertionFailedError: expected: <Start: 04.08.2024, Uhrzeit: 13:45.> but was: <Start: 04.08.2024 Uhrzeit: 13:45> -
Revise incorrect test
TextFormatterTest.formatsSingleDateWithFormalFormatter. The test failed on line 23 when run against a reference implementation:AssertionFailedError: expected: <Das Projekt startet am 04.08.2024.> but was: <Das Projekt startet am 04.08.2024> -
Revise incorrect test
TextFormatterTest.formatsTimeWithFormalFormatter. The test failed on line 31 when run against a reference implementation:AssertionFailedError: expected: <Die Uhrzeit ist 09:00.> but was: <Die Uhrzeit ist 09:00> -
Revise incorrect test
TextFormatterTest.formatsWithCasualFormatter. The test failed on line 70 when run against a reference implementation:AssertionFailedError: expected: <Beginn: 4. August '24, Zeit: 18 Uhr 30.> but was: <Beginn: 4. August '24 Zeit: 18 Uhr 30> -
Revise incorrect test
TextFormatterTest.handlesBrokenClosingBraceGracefully. The test failed on line 78 when run against a reference implementation:NoSuchElementException: -
Revise incorrect test
TextFormatterTest.handlesExtraCharactersAfterBrace. The test failed on line 86 when run against a reference implementation:AssertionFailedError: expected: <Am 04.08.2024! ist etwas los.> but was: <Am 04.08.2024 ist etwas los.> -
Revise incorrect test
TextFormatterTest.trailingCharactersAfterPlaceholderAreKept. The test failed on line 62 when run against a reference implementation:AssertionFailedError: expected: <Termin ist am 04.08.2024!> but was: <Termin ist am 04.08.2024> -
Testen, dass das Resultat von
CasualDateTimeFormat.formatDateden korrekten Monatsnamen enthält. The test suite already does this partially, but it only detects 8 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 4 out of 5 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.
Implementation
39 % complete
18 / 19 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: Passed
- TextFormatterTest.formatsSingleDateWithFormalFormatter: Passed
- TextFormatterTest.formatsTimeWithFormalFormatter: Passed
- TextFormatterTest.formatsWithCasualFormatter: Passed
- TextFormatterTest.handlesBrokenClosingBraceGracefully: Passed
- TextFormatterTest.handlesExtraCharactersAfterBrace: Passed
- TextFormatterTest.ignoresUnopenedPlaceholders: Passed
- TextFormatterTest.returnsTextUnchangedIfNoPlaceholders: Passed
- TextFormatterTest.trailingCharactersAfterPlaceholderAreKept: Passed
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)