Example #1
0
        public void DaneBEquality()
        {
            var a = new DaneA();
            var b = new DaneA();

            Assert.IsTrue(a.Equals(b));
        }
Example #2
0
        public void DaneAEquality()
        {
            DaneA a, b;

            a = new DaneA();
            b = new DaneA();
            Assert.IsTrue(a.Equals(b));
        }
Example #3
0
        public void DaneAInequality()
        {
            DaneA a, b;

            a         = new DaneA();
            b         = new DaneA();
            b.liczbaA = 131313;
            Assert.IsFalse(a.Equals(b));
        }