blob: 54b420e62c015f5d7f467d48dd936aab85c90082 (
plain)
1
2
3
4
5
6
7
8
9
|
describe "Complex#integer?" do
it "returns false for a Complex with no imaginary part" do
Complex(20).integer?.should be_false
end
it "returns false for a Complex with an imaginary part" do
Complex(20,3).integer?.should be_false
end
end
|