Sha256: bbdea6196d47c1b8a8009a724c0e951c2c903aee93b210c3400a7042de2f8cd7

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/time/elapse.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

require 'facets/core/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-1.8.49 test/lib/facets/core/time/test_elapse.rb