Remove `Complex(string)` complex generation.

It should raise an error.
parent b7f85b9d
......@@ -63,8 +63,6 @@ assert 'Complex#==' do
assert_true Complex(2, 3) == Complex(2, 3)
assert_true Complex(5) == 5
assert_true Complex(0) == 0.0
assert_false Complex('1/3') == 0.33
assert_false Complex('1/2') == '1/2'
end
assert 'Complex#abs' do
......@@ -127,4 +125,4 @@ assert 'Complex::to_i' do
assert_raise(RangeError) do
Complex(1, 2).to_i
end
end
\ No newline at end of file
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment