# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/to_b.rb # # Extracted Tue Feb 06 17:03:50 EST 2007 # Project.rb Test Extraction # 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