Sha256: ffbc74e9dace89fa53733276f66dba625b4e95b85f68de934827ae0aec7b9d15
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/string/to_time.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/string/to_time.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_to_time s = "2:31:15 PM" t = s.to_time assert_equal( 14, t.hour ) assert_equal( 31, t.min ) assert_equal( 15, t.sec ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/string/test_to_time.rb |