public void GridstatsRosters_ReadsGridstatsPlayerList()
        {
            var sut = new GridstatsRosters(
                new RosterEventStore());
            var result = sut.CheckPlayerIndex();

            Console.WriteLine(
                $"There are {result.TotalPlayers} players in the file");
            Console.WriteLine(
                $"There are {result.FreeAgents} Free Agents in the file");
            Console.WriteLine(
                $"{result.InThePool} players are already registered");
            Console.WriteLine(
                $"{result.UnRegistered} players are NOT registered");
            Assert.IsTrue(result.TotalPlayers > 0);
            Console.WriteLine(result.Taken);
            Console.WriteLine(result.Noobs);
        }
 public void Setup()
 {
     Sut = new GridstatsRosters(
         new RosterEventStore("GridstatsEvents.json"),
         null);                 // for now
 }
Пример #3
0
 public void Setup()
 {
     Sut = new GridstatsRosters(
         new RosterEventStore("YahooEvents.json"),
         statsRepo: null);                 // for now
 }