diff options
author | Benoit Daloze <[email protected]> | 2022-04-25 14:53:54 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2022-04-25 14:53:54 +0200 |
commit | 45cf4f218728a15eb36d14a6c9912086525f5e3f (patch) | |
tree | 2aa93fadcb904c226f722dde47827098b87a9846 /spec/ruby/library/cmath/math | |
parent | 6ae81d49b52563a6720d666a6118ffa6e484f398 (diff) |
Update to ruby/spec@3affe1e
Diffstat (limited to 'spec/ruby/library/cmath/math')
-rw-r--r-- | spec/ruby/library/cmath/math/acos_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/acosh_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/asin_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/asinh_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/atan2_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/atan_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/atanh_spec.rb | 19 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/cos_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/cosh_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/exp_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/log10_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/log_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/sin_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/sinh_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/sqrt_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/tan_spec.rb | 17 | ||||
-rw-r--r-- | spec/ruby/library/cmath/math/tanh_spec.rb | 17 |
17 files changed, 0 insertions, 291 deletions
diff --git a/spec/ruby/library/cmath/math/acos_spec.rb b/spec/ruby/library/cmath/math/acos_spec.rb index 2e9104f835..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/acos_spec.rb +++ b/spec/ruby/library/cmath/math/acos_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/acosh_spec.rb b/spec/ruby/library/cmath/math/acosh_spec.rb index 809112f6c0..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/acosh_spec.rb +++ b/spec/ruby/library/cmath/math/acosh_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/asin_spec.rb b/spec/ruby/library/cmath/math/asin_spec.rb index 4ac588ebd2..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/asin_spec.rb +++ b/spec/ruby/library/cmath/math/asin_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/asinh_spec.rb b/spec/ruby/library/cmath/math/asinh_spec.rb index 7d8b397a04..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/asinh_spec.rb +++ b/spec/ruby/library/cmath/math/asinh_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/atan2_spec.rb b/spec/ruby/library/cmath/math/atan2_spec.rb index 1a9b7d7607..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/atan2_spec.rb +++ b/spec/ruby/library/cmath/math/atan2_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/atan_spec.rb b/spec/ruby/library/cmath/math/atan_spec.rb index b0171081a6..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/atan_spec.rb +++ b/spec/ruby/library/cmath/math/atan_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/atanh_spec.rb b/spec/ruby/library/cmath/math/atanh_spec.rb index 6b22c6c9e4..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/atanh_spec.rb +++ b/spec/ruby/library/cmath/math/atanh_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/cos_spec.rb b/spec/ruby/library/cmath/math/cos_spec.rb index 3f097bcb3b..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/cos_spec.rb +++ b/spec/ruby/library/cmath/math/cos_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/cosh_spec.rb b/spec/ruby/library/cmath/math/cosh_spec.rb index 197f899981..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/cosh_spec.rb +++ b/spec/ruby/library/cmath/math/cosh_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/exp_spec.rb b/spec/ruby/library/cmath/math/exp_spec.rb index eef2ec3129..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/exp_spec.rb +++ b/spec/ruby/library/cmath/math/exp_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/log10_spec.rb b/spec/ruby/library/cmath/math/log10_spec.rb index 603bbb1457..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/log10_spec.rb +++ b/spec/ruby/library/cmath/math/log10_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/log_spec.rb b/spec/ruby/library/cmath/math/log_spec.rb index b4da781323..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/log_spec.rb +++ b/spec/ruby/library/cmath/math/log_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/sin_spec.rb b/spec/ruby/library/cmath/math/sin_spec.rb index b7a219fbbd..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/sin_spec.rb +++ b/spec/ruby/library/cmath/math/sin_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/sinh_spec.rb b/spec/ruby/library/cmath/math/sinh_spec.rb index c6e6a3baf4..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/sinh_spec.rb +++ b/spec/ruby/library/cmath/math/sinh_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/sqrt_spec.rb b/spec/ruby/library/cmath/math/sqrt_spec.rb index 421824f99c..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/sqrt_spec.rb +++ b/spec/ruby/library/cmath/math/sqrt_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/tan_spec.rb b/spec/ruby/library/cmath/math/tan_spec.rb index e2acdd8091..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/tan_spec.rb +++ b/spec/ruby/library/cmath/math/tan_spec.rb @@ -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 diff --git a/spec/ruby/library/cmath/math/tanh_spec.rb b/spec/ruby/library/cmath/math/tanh_spec.rb index 94da20cd51..e15f14f95f 100644 --- a/spec/ruby/library/cmath/math/tanh_spec.rb +++ b/spec/ruby/library/cmath/math/tanh_spec.rb @@ -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 |