Sha256: 7eedb77beff2a956236414062d641c697cdec802a290a15d1a139a319d1ddcf3

Contents?: true

Size: 551 Bytes

Versions: 21

Compression:

Stored size: 551 Bytes

Contents

# NOTE: run bin/format-filters after changing this file
opal_filter "Complex" do
  fails "Complex#<=> returns 0, 1, or -1 if self and argument do not have imaginary part" # Expected nil == 1 to be truthy but was false
  fails "Complex#coerce returns an array containing other as Complex and self when other is a Numeric which responds to #real? with true"
  fails "Complex#to_c returns self" # Expected ((1+5i)+0i) to be identical to (1+5i)
  fails "Complex#to_c returns the same value" # Expected ((1+5i)+0i) == (1+5i) to be truthy but was false
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
opal-1.6.1 spec/filters/bugs/complex.rb
opal-1.6.0 spec/filters/bugs/complex.rb
opal-1.6.0.rc1 spec/filters/bugs/complex.rb
opal-1.6.0.alpha1 spec/filters/bugs/complex.rb
opal-1.5.1 spec/filters/bugs/complex.rb
opal-1.5.0 spec/filters/bugs/complex.rb
opal-1.5.0.rc1 spec/filters/bugs/complex.rb
opal-1.4.1 spec/filters/bugs/complex.rb
opal-1.4.0 spec/filters/bugs/complex.rb
opal-1.4.0.alpha1 spec/filters/bugs/complex.rb
opal-1.3.2 spec/filters/bugs/complex.rb
opal-1.3.1 spec/filters/bugs/complex.rb
opal-1.3.0 spec/filters/bugs/complex.rb
opal-1.3.0.rc1 spec/filters/bugs/complex.rb
opal-1.3.0.alpha1 spec/filters/bugs/complex.rb
opal-1.2.0 spec/filters/bugs/complex.rb
opal-1.2.0.beta1 spec/filters/bugs/complex.rb
opal-1.1.1 spec/filters/bugs/complex.rb
opal-1.1.1.rc1 spec/filters/bugs/complex.rb
opal-1.1.0 spec/filters/bugs/complex.rb