Sha256: 101672131add9019e7f4a83feebc891563070f26fc79e5a96b34c5c642a034ff
Contents?: true
Size: 582 Bytes
Versions: 5
Compression:
Stored size: 582 Bytes
Contents
require File.expand_path(File.dirname(__FILE__)+"/spec_helper.rb") describe Distribution do it "should respond to has_gsl?" do lambda {Distribution.has_gsl?}.should_not raise_exception if Distribution.has_gsl? defined?(GSL).should be_true else defined?(GSL).should be_false end end it "should respond to has_statistics2?" do lambda {Distribution.has_statistics2?}.should_not raise_exception if Distribution.has_statistics2? defined?(Statistics2).should be_true else defined?(Statistics2).should be_false end end end
Version data entries
5 entries across 5 versions & 1 rubygems