Ejemplo n.º 1
0
        public void formation_construction_respects_per_side_receiver_params()
        {
            var formation = new Formation(2,2);

            formation.WeakSideReceivers.Count.Should().Be(2);
            formation.StrongSideReceivers.Count.Should().Be(2);
            formation.BackfieldReceivers.Count.Should().Be(1);
        }
Ejemplo n.º 2
0
        public void formation_construction_allows_quads_formations_too()
        {
            var formation = new Formation(1,4);

            formation.WeakSideReceivers.Count.Should().Be(1);
            formation.StrongSideReceivers.Count.Should().Be(4);
            formation.BackfieldReceivers.Count.Should().Be(0);
        }
Ejemplo n.º 3
0
        public void all_eligible_receivers_in_a_formation_really_are_eligible()
        {
            var formation = new Formation(2,2);

            foreach (var p in formation.EligibleReceivers) {
                p.IsEligible.Should().BeTrue();
            }
        }
Ejemplo n.º 4
0
        public void formations_are_created_with_eleven_player_positions()
        {
            var formation = new Formation(2, 2);

            formation.Positions.Count.Should().Be(11);
        }
Ejemplo n.º 5
0
        public void default_formations_are_created_with_five_eligible_receivers()
        {
            var formation = new Formation(2, 2);

            formation.EligibleReceivers.Count.Should().Be(5);
        }