Sha256: ee10f72a5ebdb8b8ca2fb965cf44a3f73fcfde4c24add8c7fc7cbc847ee1196f
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/to_bool.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/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.8.49 | test/lib/facets/core/kernel/test_to_bool.rb |