summaryrefslogtreecommitdiff
path: root/test/test_cmath.rb
blob: 46a357fab2fbe929bf836104f03c11ff6a11400d (plain)
1
2
3
4
5
6
7
8
require 'test/unit'
require 'cmath'

class TestCMath < Test::Unit::TestCase
  def test_sqrt
    assert_equal CMath.sqrt(1.0.i), CMath.sqrt(1.i), '[ruby-core:31672]'
  end
end