Sha256: b8b0dfe675684de23d8696a6e512a32d075b92200cae218eae79f45c9e45225d

Contents?: true

Size: 763 Bytes

Versions: 4

Compression:

Stored size: 763 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  | 5     |
    | player 2  | 5     |
    | 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 7 points
    And one team should have 2 players and 8 points

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
football-manager-0.1.8 features/choose_teams.feature
football-manager-0.1.7 features/choose_teams.feature
football-manager-0.1.6 features/choose_teams.feature
football-manager-0.1.5 features/choose_teams.feature