Sha256: 1bcd51e383de63788c9f3e60a49f56c78549461171aecf594f6ba3a9f6a41613

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

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

class Polling::Sleep::Test < Test::Unit::TestCase
  def test_sleep_exec
    assert_equal false, Polling::Sleep.exec(-1)
    assert_equal false, Polling::Sleep.exec(0)
    assert_equal 1, Polling::Sleep.exec(1)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polling-0.1.5 test/test_sleep.rb
polling-0.1.4 test/test_sleep.rb
polling-0.1.3 test/test_sleep.rb
polling-0.1.2 test/test_sleep.rb
polling-0.1.1 test/test_sleep.rb