# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/to_b.rb # # Extracted Tue Jun 27 09:51:08 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/kernel/to_b.rb' require 'test/unit' class TCKernel < Test::Unit::TestCase def test_to_b assert_equal( true, true.to_b ) assert_equal( false, false.to_b ) assert_equal( false, nil.to_b ) end end