calculator.rb tested