# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/time/change.rb # # Extracted Tue Apr 18 08:56:38 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/time/change.rb' require 'test/unit' require 'time' class TCTime < Test::Unit::TestCase def setup @t = Time.parse('4/20/2006 15:37') end def test_change n = Time.now n = n.change( :month=>4, :day=>20, :hour=>15, :min=>37, :year=>2006 ) assert_equal( @t, n ) end end