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('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :kernel_Complex, shared: true do
describe "when passed [Complex, Complex]" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_abs, shared: true do
it "returns the modulus: |a + bi| = sqrt((a ^ 2) + (b ^ 2))" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_abs2, shared: true do
it "returns the sum of the squares of the real and imaginary parts" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_coerce, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_I, shared: true do
it "is Complex(0, 1)" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_denominator, shared: true do
it "returns the least common multiple denominator of the real and imaginary parts" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_divide, shared: true do
describe "with Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_equal_value, shared: true do
describe "with Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_exponent, shared: true do
describe "with Fixnum 0" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :float_arg, shared: true do
it "returns NaN if NaN" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_image, shared: true do
it "returns the imaginary part of self" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_minus, shared: true do
describe "with Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_multiply, shared: true do
describe "with Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_numerator, shared: true do
it "returns self's numerator" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :numeric_arg, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :numeric_conj, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :numeric_imag, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :numeric_polar, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../../spec_helper', __FILE__)
require_relative '../../../spec_helper'
describe :numeric_real, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_plus, shared: true do
describe "with Complex" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_polar_class, shared: true do
it "returns a complex number in terms of radius and angle" do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_rect, shared: true do
before :each do

View file

@ -1,4 +1,4 @@
require File.expand_path('../../../spec_helper', __FILE__)
require_relative '../../spec_helper'
describe :complex_to_s, shared: true do
describe "when self's real component is 0" do