Casual Time

680ebb7b

Irina P.

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

60 % complete

Suggestions

  • Revise incorrect test testCasualTime_MidnightSpecialCase. The test failed on line 72 when run against a reference implementation:
    AssertionFailedError: expected: <It's midnight> but was: <12 o'clock>
  • Revise incorrect test testCasualTime_NoonSpecialCase. The test failed on line 76 when run against a reference implementation:
    AssertionFailedError: expected: <It's noon> but was: <12 o'clock>
  • Zeiten mit Minuten, die nicht durch 5 teilbar sind, testen. The test suite already does this partially, but it only detects 1 out of 3 possible bugs in this regard.
  • Einen kleinen Spezialfall testen, der oft vergessen geht.

Implementation

36 % complete 6 / 10 Tests
  • create: Passed
  • halfPast: Passed
  • other: Failed
  • quarter: Passed
  • sharp: Passed
  • sharpSimple: Passed
  • testCasualTime_MidnightSpecialCase: Failed
  • testCasualTime_MinutesDivisibleBy5: Passed
  • testCasualTime_MinutesNotDivisibleBy5: Failed
  • testCasualTime_NoonSpecialCase: Failed

Other Submissions