public void GetNextLocation_ValidToyRobotMove_Equal() { // arrange var robot = new ToyRobot(new TableSurface(5, 5)); Location oldLocation = new Location(2, 2, Location.Direction.EAST); robot.Location = oldLocation; // act Location nextLocation = robot.GetNextLocation(); // assert Assert.AreEqual(3, nextLocation.X); Assert.AreEqual(2, nextLocation.Y); }