Sha256: 7a8faf7aa0ad3c29481094690a7b42c3a33a02f4cce003e4409f7f24c9b2f09c

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

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