Sha256: 821f9e3f6d5dd3290819b1d25d42711677f8a8dc5e80f21d5f0847ba60aab37b
Contents?: true
Size: 435 Bytes
Versions: 8
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' require 'split/dashboard/helpers' include Split::DashboardHelpers describe Split::DashboardHelpers do describe 'confidence_level' do it 'should handle very small numbers' do confidence_level(Complex(2e-18, -0.03)).should eql('No Change') end it "should consider a z-score of 1.645 < z < 1.96 as 95% confident" do confidence_level(1.80).should eql('95% confidence') end end end
Version data entries
8 entries across 8 versions & 1 rubygems