Exemple #1
0
        public void AddPlayTest()
        {
            var p = new Players();

            p.AddPlay(new Play(Name1, 10, Alley, DateTime.Now));
            p.AddPlay(new Play(Name1, 10, Alley, DateTime.Now));
            Assert.Single(p);
            p.AddPlay(new Play(Name2, 10, Alley, DateTime.Now));
            Assert.Equal(2, p.Count);
        }