test/modules_test.rb in rbplusplus-1.0.1 vs test/modules_test.rb in rbplusplus-1.0.3

- old
+ new

@@ -55,10 +55,10 @@ a.get_class_name.should == "Adder" end specify "should wrap up C++ functions in the module" do lambda { Functions }.should_not raise_error(NameError) - Functions::test2(2).should be_close(1.0, 0.001) + Functions::test2(2).should be_within(0.001).of(1.0) Functions::test3(4, 6).should == 4 end specify "should be able to nest modules and related definitions" do lambda { Subtracter }.should raise_error(NameError)