Sha256: 40a54a383cf78c8c7817d3c15f45bd8098ebaddbfd46066b3d9f01eae01f5944

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/kernel/to_bool.rb
#
# Extracted Mon Mar 13 13:24:08 UTC 2006
# Unit Tools Reap Test Extractor
#

require 'facet/kernel/to_bool.rb'


  require 'test/unit'

  class TCKernel < Test::Unit::TestCase

    def test_to_bool
      assert_equal( true, true.to_bool )
      assert_equal( false, false.to_bool )
      assert_equal( false, nil.to_bool )
    end

  end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-1.1.0 test/lib/facet/kernel/test_to_bool.rb
facets-1.2.0 test/lib/facet/kernel/test_to_bool.rb