Sha256: 26aaa0153404d04b46a6bae94d01ecf6714869a946767bc2d57766a0b465814d

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

require 'minitest/autorun'
require 'pirate_game'

class TestPirateGameBridge < MiniTest::Unit::TestCase

  def setup
    @bridge = PirateGame::Bridge.new(%w[Foo Bar], %w[Foo Bar Baz Buz])
  end

  def test_initialize
    assert_equal 2, @bridge.items.length
    assert_equal 4, @bridge.stage_items.length
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pirate_game-0.0.1 test/test_pirate_game_bridge.rb