spec/excel_functions_spec.rb in rubyfromexcel-0.0.16 vs spec/excel_functions_spec.rb in rubyfromexcel-0.0.17

- old
+ new

@@ -22,10 +22,15 @@ v.a1.should == 10.0 v.set('a1',99.0) v.a1.should == 99.0 v.set('a1',nil) v.a1.should == 10.0 + v = ValueSetTest.new + v.set('a1',99.0) + v.a1.should == 99.0 + v = ValueSetTest.new + v.a1.should == 10.0 end end describe "round" do it "should round numbers correctly" do @@ -501,6 +506,6 @@ m = FunctionTest.m("one",[[3]],[[:a,:b,:c],[1,2,3]],ExcelMatrix.new([:a,:b,:c])) { |i,j,k| "#{i}#{j}#{k}" } m.should be_kind_of(ExcelMatrix) m.values.should == [["one3a", "one3b", "one3c"], ["one31", "one32", "one33"]] end -end \ No newline at end of file +end