Exemplo n.º 1
0
        [Test] // #13
        public void m()
        {      //@ Add a deparment and check if he existing
            ClubMember_Data cd = new ClubMember_Data();

            cd.Remove("12");
            Assert.IsTrue(!cd.Contains("12"));
        }
Exemplo n.º 2
0
        [Test] // #12
        public void l()
        {      //@ Add a deparment and check if he existing
            ClubMember_Data cd = new ClubMember_Data();

            Backend.Club_Member c = new Club_Member("12", "a", "a", "Man", "12", "01.03.1988");
            cd.Add(c);
            Assert.IsTrue(cd.Contains("12"));
        }
Exemplo n.º 3
0
 // checks if club member exsits in the database
 public bool exist(string clubMember)
 {
     return(itsDAL.Contains(clubMember));
 }