Casual Time

3be1bb94

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 72 when run against a reference implementation:
    MultipleFailuresError: Multiple Failures (3 failures) org.opentest4j.AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. org.opentest4j.AssertionFailedError: Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown. org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <java.lang.IllegalArgumentException> but was: <java.lang.ArrayIndexOutOfBoundsException>
  • 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