1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2018-03-04 15:09:32 +00:00
parent 8a15857a7f
commit 401b64c4e8
3689 changed files with 6095 additions and 6096 deletions

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/abs2', __FILE__)
require_relative '../../shared/complex/abs2'
describe "Complex#abs2" do
it_behaves_like :complex_abs2, :abs2

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/abs', __FILE__)
require_relative '../../shared/complex/abs'
describe "Complex#abs" do
it_behaves_like :complex_abs, :abs

View file

@ -1,6 +1,6 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
require File.expand_path('../../../shared/complex/arg', __FILE__)
require_relative '../../shared/complex/arg'
describe "Complex#angle" do
it_behaves_like :complex_arg, :angle

View file

@ -1,6 +1,6 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
require File.expand_path('../../../shared/complex/arg', __FILE__)
require_relative '../../shared/complex/arg'
describe "Complex#arg" do
it_behaves_like :complex_arg, :arg

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/coerce', __FILE__)
require_relative '../../shared/complex/coerce'
describe "Complex#coerce" do
it_behaves_like :complex_coerce, :coerce

View file

@ -1,5 +1,5 @@
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../shared/complex/conjugate', __FILE__)
require_relative '../../spec_helper'
require_relative '../../shared/complex/conjugate'
describe "Complex#conj" do
it_behaves_like :complex_conjugate, :conj

View file

@ -1,5 +1,5 @@
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../shared/complex/conjugate', __FILE__)
require_relative '../../spec_helper'
require_relative '../../shared/complex/conjugate'
describe "Complex#conjugate" do
it_behaves_like :complex_conjugate, :conjugate

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/constants', __FILE__)
require_relative '../../shared/complex/constants'
describe "Complex::I" do
it_behaves_like :complex_I, :I

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/denominator', __FILE__)
require_relative '../../shared/complex/denominator'
describe "Complex#denominator" do
it_behaves_like :complex_denominator, :denominator

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/divide', __FILE__)
require_relative '../../shared/complex/divide'
describe "Complex#/" do
it_behaves_like :complex_divide, :/

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#eql?" do
it "returns false if other is not Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/equal_value', __FILE__)
require_relative '../../shared/complex/equal_value'
describe "Complex#==" do
it_behaves_like :complex_equal_value, :==

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/exponent', __FILE__)
require_relative '../../shared/complex/exponent'
describe "Complex#**" do
it_behaves_like :complex_exponent, :**

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#fdiv" do
it "accepts a numeric argument" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
ruby_version_is "2.4" do
describe "Complex#finite?" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#hash" do
it "is static" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/image', __FILE__)
require_relative '../../shared/complex/image'
describe "Complex#imag" do
it_behaves_like :complex_image, :imag

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/image', __FILE__)
require_relative '../../shared/complex/image'
describe "Complex#imaginary" do
it_behaves_like :complex_image, :imaginary

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
ruby_version_is "2.4" do
describe "Complex#infinite?" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/inspect', __FILE__)
require_relative '../../shared/complex/inspect'
describe "Complex#inspect" do
it_behaves_like :complex_inspect, :inspect

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/abs', __FILE__)
require_relative '../../shared/complex/abs'
describe "Complex#magnitude" do
it_behaves_like :complex_abs, :magnitude

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#marshal_dump" do
it "is a private method" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/minus', __FILE__)
require_relative '../../shared/complex/minus'
describe "Complex#-" do
it_behaves_like :complex_minus, :-

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/multiply', __FILE__)
require_relative '../../shared/complex/multiply'
describe "Complex#*" do
it_behaves_like :complex_multiply, :*

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/numerator', __FILE__)
require_relative '../../shared/complex/numerator'
describe "Complex#numerator" do
it_behaves_like :complex_numerator, :numerator

View file

@ -1,5 +1,5 @@
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../shared/complex/arg', __FILE__)
require_relative '../../spec_helper'
require_relative '../../shared/complex/arg'
describe "Complex#phase" do
it_behaves_like :complex_arg, :phase

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/plus', __FILE__)
require_relative '../../shared/complex/plus'
describe "Complex#+" do
it_behaves_like :complex_plus, :+

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/polar', __FILE__)
require_relative '../../shared/complex/polar'
describe "Complex.polar" do
it_behaves_like :complex_polar_class, :polar

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/divide', __FILE__)
require_relative '../../shared/complex/divide'
describe "Complex#quo" do
it_behaves_like :complex_divide, :quo

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/real', __FILE__)
require_relative '../../shared/complex/real'
describe "Complex#real" do
it_behaves_like :complex_real, :real

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/rect', __FILE__)
require_relative '../../shared/complex/rect'
describe "Complex#rect" do
it_behaves_like :complex_rect, :rect

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/rect', __FILE__)
require_relative '../../shared/complex/rect'
describe "Complex#rectangular" do
it_behaves_like :complex_rect, :rectangular

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#to_f" do
describe "when the imaginary part is Fixnum 0" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#to_i" do
describe "when the imaginary part is Fixnum 0" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#to_r" do
describe "when the imaginary part is Fixnum 0" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../shared/complex/to_s', __FILE__)
require_relative '../../shared/complex/to_s'
describe "Complex#to_s" do
it_behaves_like :complex_to_s, :to_s

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe "Complex#-@" do
it "sends #-@ to the real and imaginary parts and returns a Complex with the resulting respective parts" do