Calculator

8b5ec590

Kai 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

81 % complete

Suggestions

  • Revise incorrect test empty. The test failed on line 94 when run against a reference implementation:
    AssertionFailedError: expected: <> but was: <invalid number>

Implementation

81 % complete 11 / 11 Tests
  • addition: Passed
  • division: Passed
  • empty: Passed
  • invalidNumber: Passed
  • invalidOperator: Passed
  • multiplication: Passed
  • negativeNumbers: Passed
  • nonNegativeDecimal: Passed
  • nonNegativeInt: Passed
  • spaces: Passed
  • subtraction: Passed

Other Submissions