# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/to_b.rb # # Extracted Fri Apr 14 10:02:13 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