Ad
  • Custom User Avatar

    Hey, I fixed the Clojure version now.

    Added these test cases to confirm:

    (deftest test-subtraction2
      (is (= (sol/calc "81-16+26-6255-57") -6221.0)))
    
    (deftest test-subtraction3
      (is (= (sol/calc "-1-2-3") -6.0)))
    
  • Custom User Avatar

    The clojure version seems to have a bug in test checker, for example 81-16+26-6255-57 is supposed to be 6237.0, which clearly isn't true. This bug occurs in half the tests.