Sha256: 1506ef01f975826de1a34829129ac2e592c36ea0ac4ecb01116edbca813b3d59

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

Feature: Pick balanced teams
  So that we have a close game at mnf
  As a team manager
  I want to pick balanced teams from the list of available players

  Scenario: 2 players are available
    Given the following players
      | name      | skill |
      | player 1  | 5     |
      | player 2  | 5     |
    When I pick the teams
    Then each team should have 1 player and 5 points

  Scenario: 5 players are available
  Given the following players
    | name      | skill |
    | player 1  | 7     |
    | player 2  | 7     |
    | player 3  | 1     |
    | player 4  | 1     |
    | player 5  | 3     |
    | #player 6 | 3     |

  When I pick the teams
  Then one team should have 3 players and 9 points
    And one team should have 2 players and 10 points

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
football-manager-1.0.1 features/choose_teams.feature