Sha256: 96daf57be84bf413b4b5c581384eba4f7bc5eccf8fea3e12b19a3c5a53566c1d

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

require 'test_helper'

class PlayerTest < Hands::TestCase
  def test_initialization
    player1 = Hands::Player.new
    refute player1.name

    player2 = Hands::Player.new('Sam')
    assert_equal 'Sam', player2.name
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hands-0.3.0 test/units/player_test.rb
hands-0.2.1 test/units/player_test.rb
hands-0.2.0 test/units/player_test.rb
hands-0.1.0 test/units/player_test.rb