Ejemplo n.º 1
0
        public void AllEqual()
        {
            Grandfather g1 = new Grandfather();
            Grandfather f1 = new Father();
            Grandfather s1 = new Son();

            Assert.AreEqual(g1.LastName(), f1.LastName(), s1.LastName());
        }
Ejemplo n.º 2
0
        public void NoneEqual()
        {
            Grandfather g1 = new Grandfather();
            Father      f1 = new Father();
            Son         s1 = new Son();

            Assert.AreNotEqual(
                g1.LastName(),
                f1.LastName(),
                s1.LastName());
        }