Sha256: 4dda3378a4d06130f73c16de505e04f10df796826b1531f5c09f09463620a267

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

require File.expand_path('../shared/sqrt', __FILE__)

describe "Math#rsqrt" do
  it_behaves_like :mathn_math_sqrt, :_, IncludesMath.new

  it "is a private instance method" do
    IncludesMath.should have_private_instance_method(:sqrt)
  end
end

describe "Math.rsqrt" do
  it_behaves_like :mathn_math_sqrt, :_, Math
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-mathn-1.0.0 spec/math/sqrt_spec.rb
rubysl-mathn-2.0.0 spec/math/sqrt_spec.rb