Пример #1
0
        public void removeJudge()
        {
            Judge t = new Judge();

            t.AddJudge(new Judge()
            {
                FirstName = "sarmad"
            });
            t.AddJudge(new Judge()
            {
                FirstName = "sar"
            });
            t.AddJudge(new Judge()
            {
                FirstName = "sarma"
            });
            t.removejudge(0);
            Assert.AreEqual("sar", t.judges[0].FirstName);
            Assert.AreEqual("sarma", t.judges[1].FirstName);
        }