public void MoveSonda(string moves, string response) { // Arrange var sonda = new Sonda(); var service = new MoveSondaService(); // Act var result = service.MoveSonda(sonda, moves); // Assert Assert.Equal(response, result.ToString()); }
public void MoveSonda_Invalid(string moves, string response) { // Arrange var sonda = new Sonda(); var service = new MoveSondaService(); var limit = new Position(); // Act var result = service.MoveSonda(sonda, moves, limit); // Assert Assert.Equal(response, result.ToString()); }