# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/kernel/to_bool.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/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