diff options
Diffstat (limited to 'spec/rubyspec/library/complex/math/atanh_spec.rb')
-rw-r--r-- | spec/rubyspec/library/complex/math/atanh_spec.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/rubyspec/library/complex/math/atanh_spec.rb b/spec/rubyspec/library/complex/math/atanh_spec.rb new file mode 100644 index 0000000000..a68674f82c --- /dev/null +++ b/spec/rubyspec/library/complex/math/atanh_spec.rb @@ -0,0 +1,17 @@ +require 'complex' +require File.expand_path('../../../../spec_helper', __FILE__) +require File.expand_path('../../../../fixtures/math/common', __FILE__) +require File.expand_path('../../../../shared/math/atanh', __FILE__) +require File.expand_path('../shared/atanh', __FILE__) + +describe "Math#atanh" do + it_behaves_like :math_atanh_base, :atanh, IncludesMath.new + it_behaves_like :complex_math_atanh_complex, :atanh, IncludesMath.new + + it_behaves_like :math_atanh_private, :atanh, IncludesMath.new +end + +describe "Math.atanh" do + it_behaves_like :math_atanh_base, :atanh, CMath + it_behaves_like :complex_math_atanh_complex, :atanh, CMath +end |