spec/parsed_calculator_spec.rb in optimus-ep-0.9.1 vs spec/parsed_calculator_spec.rb in optimus-ep-0.10.0

- old
+ new

@@ -14,9 +14,13 @@ describe Optimus::ParsedCalculator::ExpressionParser do before :all do @exp = Optimus::ParsedCalculator::ExpressionParser.new end + it "should allow empty expressions" do + @exp.should round_trip("") + end + it "should parse positive integers" do @exp.should round_trip("1") end it "should parse floats" do \ No newline at end of file