예제 #1
0
        public void ReturnFalse_ComparingWithDifferentLength()
        {
            var ship1 = new PatrolBoat(x: 1, y: 2);
            var ship2 = new Cruiser(x: 1, y: 2);

            Assert.AreNotEqual(ship1, ship2);
        }
예제 #2
0
        public void ReturnFalse_ComparingWithDifferentDirectionsAndLengthAbove1()
        {
            var ship1 = new Cruiser(x: 1, y: 2, direction: Direction.Horizontal);
            var ship2 = new Cruiser(x: 1, y: 2, direction: Direction.Vertiacal);

            Assert.AreNotEqual(ship1, ship2);
        }