# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/time/change.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/time/change.rb' require 'test/unit' require 'time' class TCTime < Test::Unit::TestCase def setup @t = Time.parse('4/20/2005 15:37') end def test_change n = Time.now n = n.change( :month=>4, :day=>20, :hour=>15, :min=>37 ) assert_equal( @t, n ) end end