public void SwissCreateBracket_UsesStandardSlideMatchups() { List <IPlayer> pList = new List <IPlayer>(); for (int i = 0; i < 8; ++i) { Mock <IPlayer> moq = new Mock <IPlayer>(); moq.Setup(p => p.Id).Returns(i); pList.Add(moq.Object); } IBracket b = new SwissBracket(pList); // Match(1) is Player[0] vs Player[4] Assert.AreEqual(b.Players[b.NumberOfPlayers() / 2].Id, b.GetMatch(1).Players[(int)PlayerSlot.Challenger].Id); }