Example #1
0
        public void AddDuplicate()
        {
            Poker        p = new Poker(true);
            ElementPoker ep;

            ep = new ElementPoker("hi", "bye");
            p.Add(ep);

            ep = new ElementPoker("hi", "bye2");
            p.Add(ep);

            Assert.AreEqual(1, p.AllKeys.Length, "A1");
            Assert.AreEqual(1, p.GetAllKeys().Length, "A2");
        }
		public void AddDuplicate ()
		{
			Poker p = new Poker (true);
			ElementPoker ep;

			ep = new ElementPoker ("hi", "bye");
			p.Add (ep);

			ep = new ElementPoker ("hi", "bye2");
			p.Add (ep);

			Assert.AreEqual (1, p.AllKeys.Length, "A1");
			Assert.AreEqual (1, p.GetAllKeys().Length, "A2");
		}