1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2022-04-25 14:53:54 +02:00
parent 6ae81d49b5
commit 45cf4f2187
277 changed files with 3844 additions and 7624 deletions

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/acos'
describe "Math#acos" do
it_behaves_like :complex_math_acos, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:acos)
end
end
describe "Math.acos" do
it_behaves_like :complex_math_acos, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/acosh'
describe "Math#acosh" do
it_behaves_like :complex_math_acosh, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:acosh)
end
end
describe "Math.acosh" do
it_behaves_like :complex_math_acosh, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/asin'
describe "Math#asin" do
it_behaves_like :complex_math_asin, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:asin)
end
end
describe "Math.asin" do
it_behaves_like :complex_math_asin, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/asinh'
describe "Math#asinh" do
it_behaves_like :complex_math_asinh, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:asinh)
end
end
describe "Math.asinh" do
it_behaves_like :complex_math_asinh, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/atan2'
describe "Math#atan2" do
it_behaves_like :complex_math_atan2, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:atan2)
end
end
describe "Math.atan2" do
it_behaves_like :complex_math_atan2, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/atan'
describe "Math#atan" do
it_behaves_like :complex_math_atan, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:atan)
end
end
describe "Math.atan" do
it_behaves_like :complex_math_atan, :_, CMath
end
end

View file

@ -1,20 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative '../../../fixtures/math/common'
require_relative '../../../shared/math/atanh'
require_relative 'shared/atanh'
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
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/cos'
describe "Math#cos" do
it_behaves_like :complex_math_cos, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:cos)
end
end
describe "Math.cos" do
it_behaves_like :complex_math_cos, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/cosh'
describe "Math#cosh" do
it_behaves_like :complex_math_cosh, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:cosh)
end
end
describe "Math.cosh" do
it_behaves_like :complex_math_cosh, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/exp'
describe "Math#exp" do
it_behaves_like :complex_math_exp, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:exp)
end
end
describe "Math.exp" do
it_behaves_like :complex_math_exp, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/log10'
describe "Math#log10" do
it_behaves_like :complex_math_log10, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:log10)
end
end
describe "Math.log10" do
it_behaves_like :complex_math_log10, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/log'
describe "Math#log" do
it_behaves_like :complex_math_log, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:log)
end
end
describe "Math.log" do
it_behaves_like :complex_math_log, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/sin'
describe "Math#sin" do
it_behaves_like :complex_math_sin, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:sin)
end
end
describe "Math.sin" do
it_behaves_like :complex_math_sin, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/sinh'
describe "Math#sinh" do
it_behaves_like :complex_math_sinh, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:sinh)
end
end
describe "Math.sinh" do
it_behaves_like :complex_math_sinh, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/sqrt'
describe "Math#sqrt" do
it_behaves_like :complex_math_sqrt, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:sqrt)
end
end
describe "Math.sqrt" do
it_behaves_like :complex_math_sqrt, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/tan'
describe "Math#tan" do
it_behaves_like :complex_math_tan, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:tan)
end
end
describe "Math.tan" do
it_behaves_like :complex_math_tan, :_, CMath
end
end

View file

@ -1,18 +1 @@
require_relative '../../../spec_helper'
ruby_version_is ''...'2.7' do
require 'complex'
require_relative 'shared/tanh'
describe "Math#tanh" do
it_behaves_like :complex_math_tanh, :_, IncludesMath.new
it "is a private instance method" do
IncludesMath.should have_private_instance_method(:tanh)
end
end
describe "Math.tanh" do
it_behaves_like :complex_math_tanh, :_, CMath
end
end