Sha256: 633f7eef9f080d0a353612a6850996cc327be92f7853b0b17f53f6790dddf21b

Contents?: true

Size: 159 Bytes

Versions: 14

Compression:

Stored size: 159 Bytes

Contents

require 'facets/nilclass/to_f'
require 'test/unit'

class TC_NilClass_To_F < Test::Unit::TestCase

  def test_to_f
    assert_equal( 0, nil.to_f )
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/nilclass/test_to_f.rb
facets-2.8.3 test/core/nilclass/test_to_f.rb
facets-2.8.2 test/core/nilclass/test_to_f.rb
facets-2.8.1 test/core/nilclass/test_to_f.rb
facets-2.8.0 test/core/nilclass/test_to_f.rb
facets-2.7.0 test/core/nilclass/test_to_f.rb
facets-2.6.0 test/core/nilclass/test_to_f.rb
facets-2.4.2 test/core/nilclass/test_to_f.rb
facets-2.4.4 test/core/nilclass/test_to_f.rb
facets-2.4.3 test/core/nilclass/test_to_f.rb
facets-2.4.5 test/core/nilclass/test_to_f.rb
facets-2.5.0 test/core/nilclass/test_to_f.rb
facets-2.5.1 test/core/nilclass/test_to_f.rb
facets-2.5.2 test/core/nilclass/test_to_f.rb