Casual Time

3620b513

David 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

59 % complete

Suggestions

  • Revise incorrect test divideByFive. The test failed on line 54 when run against a reference implementation:
    AssertionFailedError: expected: <5 minutes past 2> but was: <5 past 2>
  • 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

59 % complete 7 / 7 Tests
  • divideByFive: Passed
  • half: Passed
  • quarterPast: Passed
  • quarterTo: Passed
  • randomDigits: Passed
  • sharp: Passed
  • sharpSimple: Passed

Other Submissions