spec/expressive_spec.rb in expressive-0.0.11 vs spec/expressive_spec.rb in expressive-0.0.12

- old
+ new

@@ -37,9 +37,10 @@ it { Expressive.run("(* 4 2)").should eql 8.0 } it { Expressive.run("(/ 4 2)").should eql 2.0 } it { Expressive.run("(sum 1 2 3)").should eql 6.0 } it { Expressive.run("(sum )").should eql 0 } it { Expressive.run("(- (sum 1 5 7) 3)").should eql 10.0} + it { Expressive.run("(round 0.12345 2)").should eql 0.12} end describe "understands comparisson" do it { Expressive.run("(= 4 2)").should eql false } it { Expressive.run("(= 4 4)").should eql true }