Casual Time

08edff12

Baris 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

21 % complete

Suggestions

  • Revise incorrect test edgeCases. The test failed on line 30 when run against a reference implementation:
    AssertionFailedError: expected: <1 to 1> but was: <1 minute to 1>
  • Revise incorrect test toTimes. The test failed on line 24 when run against a reference implementation:
    AssertionFailedError: expected: <1 to 1> but was: <1 minute to 1>
  • Testen, dass convertToCasual mit ganzen Stunden von 01:00 bis 12:00 korrekt umgeht («1 o'clock» bis «12 o'clock»). The test suite already does this partially, but it only detects 12 out of 14 possible bugs in this regard.
  • Testen, dass convertToCasual auch mit ganzen Stunden zwischen 13:00 und 00:00 korrekt umgeht.
  • Zeiten mit Viertelstunden testen. The test suite already does this partially, but it only detects 1 out of 7 possible bugs in this regard.

Implementation

21 % complete 4 / 4 Tests
  • edgeCases: Passed
  • halfPastTimes: Passed
  • pastTimes: Passed
  • toTimes: Passed

Other Submissions