blob: 15d473d61fa84d18c2a715cfc315d1d736d279f7 (
plain)
1
2
3
4
5
6
7
8
9
|
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
|