Sha256: 6077c53e659a381bc066d1d1794e8366abc2d6efae1f37ed66408411c7721cd2

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

require 'minitest/autorun'
require 'pirate_game'

class TestPirateGameTimeoutRenewer < MiniTest::Unit::TestCase

  def test_renew
    r = PirateGame::TimeoutRenewer.new 5

    assert_equal 5, r.renew

    assert_equal true, r.renew
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pirate_game-0.0.1 test/test_pirate_game_timeout_renewer.rb