Calculator

f0fdab9f

Volkan S.

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

90 % complete

Suggestions

  • Revise incorrect test multipleOperationsNotSupported. The test failed on line 97 when run against a reference implementation:
    AssertionFailedError: expected: <invalid operator> but was: <3.0>

Implementation

90 % complete 14 / 14 Tests
  • addition: Passed
  • division: Passed
  • divisionByZero: Passed
  • emptyOrBlankInput: Passed
  • invalidOperator: Passed
  • missingOperand: Passed
  • multipleOperationsNotSupported: Passed
  • multiplication: Passed
  • negativeNumbers: Passed
  • nonNegativeDecimal: Passed
  • nonNegativeInt: Passed
  • onlyOperator: Passed
  • spaces: Passed
  • subtraction: Passed

Other Submissions