spec/t_spec.rb in distribution-0.2.0 vs spec/t_spec.rb in distribution-0.3.0

- old
+ new

@@ -36,10 +36,10 @@ else pending("No #{@engine}.cdf") end end - it "should return correct p_value" do + it_only_with_gsl "should return correct p_value" do if @engine.respond_to? :p_value [-2,0.1,0.5,1,2].each{|t| [2,5,10].each{|n| area=Distribution::T.cdf(t,n) @engine.p_value(area,n).should be_within(1e-4).of(GSL::Cdf.tdist_Pinv(area,n))