Sha256: 8b2469c729662a7db5b3fa4659fd02cfd73dfe895685555cedc9313c29471cab

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + "/helper.rb"

class PollingTest < Test::Unit::TestCase
  def test_sleep
    assert_equal false, Polling::Sleep::exec(-1)
    assert_equal false, Polling::Sleep::exec(0)
    #assert_equal 5, Polling::Sleep::exec(5)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polling-0.0.7 test/test_sleep.rb
polling-0.0.5 test/test_sleep.rb
polling-0.0.3 test/test_sleep.rb
polling-0.0.2 test/test_sleep.rb