Sha256: 6f740fdbd462a68ef3011ed5d19e07238d242e2b6ebbcf48454a3511f63fe418

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/time/elapse.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/time/elapse.rb'


  require 'test/unit'

  class TCTime < Test::Unit::TestCase

    def test_elapse
      t = Time.elapse { sleep 1 }
      assert( (t > 0.9) && (t < 2.1 ))
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/time/test_elapse.rb