HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-2.5.9/spec/ruby/shared/complex/conjugate.rb
describe :complex_conjugate, shared: true do
  it "returns the complex conjugate: conj a + bi = a - bi" do
    Complex(3, 5).send(@method).should == Complex(3, -5)
    Complex(3, -5).send(@method).should == Complex(3, 5)
    Complex(-3.0, 5.2).send(@method).should be_close(Complex(-3.0, -5.2), TOLERANCE)
    Complex(3.0, -5.2).send(@method).should be_close(Complex(3.0, 5.2), TOLERANCE)
  end
end