4b78bd4f Aug 4, 2025, 5:31:58 PM (UTC)
Elena H.
A newer submission is available.
Test Suite
94 % complete
Suggestions
-
Testen, dass
CasualDateTimeFormatauch Daten ausserhalb der Jahre 2000 – 2099 korrekt formatiert. The test suite already does this partially, but it only detects 3 out of 5 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
94 % complete
18 / 18 Tests
- CasualDateTimeFormatTest.correctMonthNames: Passed
- CasualDateTimeFormatTest.formatDateBelow2000: Passed
- CasualDateTimeFormatTest.formatDateWorks: Passed
- CasualDateTimeFormatTest.formatOnlyHours: Passed
- CasualDateTimeFormatTest.formatTimeWorks: Passed
- CasualDateTimeFormatTest.hasRequiredMethods: Passed
- FormalDateTimeFormatTest.alwaysTwoDigits: Passed
- FormalDateTimeFormatTest.formatDateWorks: Passed
- FormalDateTimeFormatTest.formatTimeWorks: Passed
- FormalDateTimeFormatTest.shortYears: Passed
- TextFormatterTest.testCasualDateAndTimeFormatting: Passed
- TextFormatterTest.testCasualFormatOutsideRangeEarly: Passed
- TextFormatterTest.testCasualFormatOutsideRangeLate: Passed
- TextFormatterTest.testCasualFormatYearEdgeCase: Passed
- TextFormatterTest.testEmptyText: Passed
- TextFormatterTest.testFormalDateAndTimeFormatting: Passed
- TextFormatterTest.testFormalDateWithShortYear: Passed
- TextFormatterTest.testTextFormatterCreationAndMethod: Passed