Sha256: 5edbfccb8c401e53929a020b79e275dcb3e7d3a4b1fc502714695bc0ade65ff4

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/numeric/to_b.rb
#
# Extracted Tue Jun 20 15:12:26 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/numeric/to_b.rb'


  require 'test/unit'

  class TCNumeric < Test::Unit::TestCase

    def test_to_b
      assert_equal( false, 0.to_b )
      assert_equal( true, 1.to_b )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.2 test/lib/facets/core/numeric/test_to_b.rb