Casual Time

bb95c447

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

57 % complete

Suggestions

  • Revise incorrect test other. The test failed on line 60 when run against a reference implementation:
    AssertionFailedError: expected: <5 minutes to 1> but was: <5 to 1>
  • 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.
  • Einen kleinen Spezialfall testen, der oft vergessen geht.

Implementation

57 % complete 8 / 8 Tests
  • create: Passed
  • halfPast: Passed
  • other: Passed
  • quarter: Passed
  • sharp: Passed
  • sharpSimple: Passed
  • testCasualTime_MinutesDivisibleBy5: Passed
  • testCasualTime_MinutesNotDivisibleBy5: Passed

Other Submissions