Sha256: 1677d75b40d7ce74f16dc9cc53985c25fc0400a4cd09ea9191b198f2ff2c711f

Contents?: true

Size: 140 Bytes

Versions: 27

Compression:

Stored size: 140 Bytes

Contents

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

Version data entries

27 entries across 27 versions & 10 rubygems

Version Path
rspec-instructure-1.3.3 examples/passing/dynamic_spec.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/examples/passing/dynamic_spec.rb
rspec-1.3.2 examples/passing/dynamic_spec.rb
rspec-1.3.1 examples/passing/dynamic_spec.rb
rspec-1.3.1.rc examples/passing/dynamic_spec.rb
rspec-1.3.0 examples/passing/dynamic_spec.rb
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/examples/passing/dynamic_spec.rb
media-path-0.1.2 vendor/rspec/examples/passing/dynamic_spec.rb
simple-templater-0.0.1.3 vendor/rspec/examples/passing/dynamic_spec.rb
pupu-0.0.2.pre vendor/rspec/examples/passing/dynamic_spec.rb
media-path-0.1.1.pre vendor/rspec/examples/passing/dynamic_spec.rb
simple-templater-0.0.1.2 vendor/rspec/examples/passing/dynamic_spec.rb
media-path-0.1.1 vendor/rspec/examples/passing/dynamic_spec.rb
simple-templater-0.0.1.1 vendor/rspec/examples/passing/dynamic_spec.rb
pupu-0.0.2 vendor/rspec/examples/passing/dynamic_spec.rb
rango-0.0.6 vendor/rspec/examples/passing/dynamic_spec.rb
rango-0.1.pre vendor/rspec/examples/passing/dynamic_spec.rb
pupu-0.0.1 vendor/rspec/examples/passing/dynamic_spec.rb
media-path-0.1 vendor/rspec/examples/passing/dynamic_spec.rb
simple-templater-0.0.1 vendor/rspec/examples/passing/dynamic_spec.rb