Casual Time

53ccf502

Emre T.

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

68 % complete

Suggestions

  • Revise incorrect test testMinutesPast. The test failed on line 40 when run against a reference implementation:
    AssertionFailedError: expected: <20 minutes past 4> but was: <20 past 4>
  • Zeiten mit Minuten, die durch 5 teilbar sind, testen. The test suite already does this partially, but it only detects 1 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.

Implementation

68 % complete 7 / 7 Tests
  • testEdgeCases: Passed
  • testHalfPast: Passed
  • testMinutesPast: Passed
  • testMinutesTo: Passed
  • testQuarterPastAndTo: Passed
  • testSharpHoursAfternoon: Passed
  • testSharpHoursMorning: Passed

Other Submissions