Sha256: fbec3f871a81b8ef92cc1d29e08a66bb41b6e3698b24d267bfc4e62309b7abb5
Contents?: true
Size: 236 Bytes
Versions: 16
Compression:
Stored size: 236 Bytes
Contents
require 'facets/time/elapse.rb' require 'test/unit' class TC_Time_Elapse < Test::Unit::TestCase def test_elapse #t = Time.parse('4/20/2006 15:37') t = Time.elapse { sleep 1 } assert( (t > 0.9) && (t < 2.1 )) end end
Version data entries
16 entries across 16 versions & 1 rubygems