public void TestCreateDefaultTemplate()
        {
            TeamTemplate t = TeamTemplate.DefaultTemplate(10);

            Assert.AreEqual(t.List.Count, 10);
            t.AddDefaultItem(8);
            Assert.AreEqual(t.List.Count, 11);
        }
        public void TestBenchPlayers()
        {
            TeamTemplate t = TeamTemplate.DefaultTemplate(15);

            t.FormationStr = "1-2-3-4";
            Assert.AreEqual(5, t.BenchPlayersList.Count);
            Assert.AreEqual(t.List[10], t.BenchPlayersList[0]);
            Assert.AreEqual(t.List[14], t.BenchPlayersList[4]);
        }
        public void TestStartingPlayers()
        {
            TeamTemplate t = TeamTemplate.DefaultTemplate(15);

            t.FormationStr = "1-2-3-4";
            Assert.AreEqual(10, t.StartingPlayersList.Count);
            Assert.AreEqual(t.List[0], t.StartingPlayersList[0]);
            Assert.AreEqual(t.List[9], t.StartingPlayersList[9]);
        }
        public void TestFormation()
        {
            TeamTemplate t = TeamTemplate.DefaultTemplate(1);

            t.FormationStr = "1-2-3-4";
            Assert.AreEqual(t.Formation.Length, 4);
            Assert.AreEqual(t.Formation[0], 1);
            Assert.AreEqual(t.Formation[1], 2);
            Assert.AreEqual(t.Formation[2], 3);
            Assert.AreEqual(t.Formation[3], 4);
        }