Sha256: 09d951df037c242144fa7baa5ebbbed52e8d037e1db7158235a00f598875ce48

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/kernel/to_bool.rb
#
# Extracted Wed Jan 25 11:25:39 EST 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

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/kernel/test_to_bool.rb