Example #1
0
        public void Run_InvalidAssumptions_LastOneNotDifferent()
        {
            var x = new Pair <int, int> (1, 2);
            var y = new Pair <int, int> (1, 2);
            var z = new Pair <int, int> (1, 2);
            var a = new Pair <int, int> (1, 2);

            var tester = new EqualsTester <Pair <int, int> > (x, y, z, a);

            tester.Run();
        }
Example #2
0
        public void Run_InvalidAssumptions_FirstThreeNotEqual()
        {
            var x = new Pair <int, int> (1, 2);
            var y = new Pair <int, int> (2, 1);
            var z = new Pair <int, int> (1, 2);
            var a = new Pair <int, int> (0, 0);

            var tester = new EqualsTester <Pair <int, int> > (x, y, z, a);

            tester.Run();
        }