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