Пример #1
0
        public void AddFixtureOneMatchTest()
        {
            AddSportAndTeams();
            testFixture.fixtureName = (typeof(OneMatchFixture)).ToString();
            fixtureService.SetFixtureAlgorithm(testFixture, algorithmPaths);
            ICollection <EncounterDto> matchesAdded = fixtureService.AddFixture(teamsNames, sport.Name);

            Assert.IsTrue(matchesAdded.All(m => matchStorage.Exists(m.id)));
        }