spec/fathom/plausible_range_spec.rb in fathom-0.2.2 vs spec/fathom/plausible_range_spec.rb in fathom-0.2.3
- old
+ new
@@ -65,12 +65,11 @@
it "should be able to calculate the midpoint" do
@pr.midpoint.should eql(5.5)
end
- # TODO: Make this more accurate when we start using the GSL stuff more
it "should be able to calculate the standard deviation" do
- @pr.standard_deviation.should be_close(2.73556231003039, 0.00000001)
+ @pr.standard_deviation.should be_close( 2.7358, 0.0001)
end
it "should be able to use std instead of standard_deviation" do
@pr.std.should eql(@pr.standard_deviation)
end