Sha256: 95c8ee8e29cdb5bafa7c4032f4059443c554ee695760c864d1c24274db5dcab1

Contents?: true

Size: 201 Bytes

Versions: 65

Compression:

Stored size: 201 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "Some integers" do
  (1..10).each do |n|
    it "The root of #{n} square should be #{n}" do
      Math.sqrt(n*n).should == n
    end
  end
end

Version data entries

65 entries across 65 versions & 11 rubygems

Version Path
rspec-1.1.3 examples/pure/dynamic_spec.rb
rspec-1.1.5 examples/pure/dynamic_spec.rb
rspec-1.1.6 examples/pure/dynamic_spec.rb
rspec-1.1.11 examples/pure/dynamic_spec.rb
rspec-1.1.2 examples/pure/dynamic_spec.rb
rspec-1.1.4 examples/pure/dynamic_spec.rb
rspec-1.1.7 examples/pure/dynamic_spec.rb
rspec-1.1.9 examples/pure/dynamic_spec.rb
rspec-1.1.8 examples/pure/dynamic_spec.rb
spree-0.2.0 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
spree-0.4.0 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
spree-0.4.1 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
spree-0.5.0 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
spree-0.5.1 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.0.1 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.0.2 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.0.3.98.1 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.0 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.0.3.98 vendor/plugins/rspec/examples/pure/dynamic_spec.rb
typo-5.1.2 vendor/plugins/rspec/examples/pure/dynamic_spec.rb