Sha256: a8627bdcccfa6ac8438b63533c360cd2947e9bb0153854656e0792af4c5f0be2
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/time/test_change.rb |