Casual Time

f62c3ebf

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

48 % 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_MinutesDivisibleBy5. The test failed on line 60 when run against a reference implementation:
    AssertionFailedError: expected: <20 minutes past 3> but was: <20 past 3>
  • 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 durch 5 teilbar sind, testen. The test suite already does this partially, but it only detects 2 out of 4 possible bugs in this regard.
  • 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

28 % 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