示例#1
0
        public void SampleAutoAllOnceFixtureImparNumberOfTeamsTest()
        {
            List <Team> teams = new List <Team>()
            {
                felix, liverpool, river
            };

            DateTime start = new DateTime(3018, 10, 07);

            IFixtureGenerator allOnceFixture = new AllOnce();

            List <Encounter> result = allOnceFixture.GenerateFixture(teams, start).ToList();
        }
示例#2
0
        public void SampleAutoAllOnceFixtureTest()
        {
            List <Team> teams = new List <Team>()
            {
                felix, liverpool, river, penhiarol
            };

            DateTime start = new DateTime(3018, 10, 07);

            IFixtureGenerator allOnceFixture = new AllOnce();

            List <Encounter> result = allOnceFixture.GenerateFixture(teams, start).ToList();

            Assert.AreEqual(2, result.Count);
        }