Sha256: 2051f4f80f98b46ebd07b68ba79cc68202da737380ab00dd9ed97555fc84cbe7

Contents?: true

Size: 200 Bytes

Versions: 10

Compression:

Stored size: 200 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

10 entries across 10 versions & 1 rubygems

Version Path
rspec-0.9.0 examples/dynamic_spec.rb
rspec-0.9.2 examples/dynamic_spec.rb
rspec-0.9.1 examples/dynamic_spec.rb
rspec-0.9.3 examples/dynamic_spec.rb
rspec-0.9.4 examples/dynamic_spec.rb
rspec-1.0.0 examples/dynamic_spec.rb
rspec-1.0.1 examples/dynamic_spec.rb
rspec-1.0.2 examples/dynamic_spec.rb
rspec-1.0.3 examples/dynamic_spec.rb
rspec-1.0.4 examples/dynamic_spec.rb