Calculator

d4e3b47f

Noah V.

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

77 % complete

Suggestions

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

Implementation

68 % complete 8 / 9 Tests
  • addition: Passed
  • division: Passed
  • invalidOperator: Passed
  • multiplication: Passed
  • negativeNumbers: Passed
  • nonNegativeDecimal: Passed
  • nonNegativeInt: Passed
  • spaces: Passed
  • subtraction: Failed

Other Submissions