Casual Time

6e64c995

Yanick M.

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

82 % complete

Suggestions

  • Revise incorrect test invalidInput. The test failed on line 79 when run against a reference implementation:
    AssertionFailedError: Expected IllegalArgumentException for "25:00" ==> Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
  • 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

82 % complete 12 / 12 Tests
  • half: Passed
  • invalidInput: Passed
  • minutesPast: Passed
  • minutesPastDivisibleByFive: Passed
  • minutesPastNotDivisibleByFive: Passed
  • minutesTo: Passed
  • minutesToDivisibleByFive: Passed
  • minutesToNotDivisibleByFive: Passed
  • quarterPast: Passed
  • quarterTo: Passed
  • sharp: Passed
  • sharpSimple: Passed

Other Submissions