public void ToCoordinateList_ShouldMatchCoordinates(string obstacleSequence, int obstacle1X, int obstacle1Y, int obstacle2X, int obstacle2Y, int obstacle3X, int obstacle3Y) { // Arrange var expectedCoordinates = new List <Coordinate> { new Coordinate(obstacle1X, obstacle1Y), new Coordinate(obstacle2X, obstacle2Y), new Coordinate(obstacle3X, obstacle3Y) }; // Act var coordinateList = Hover.ToCoordinateList(obstacleSequence); // Assert coordinateList.ShouldBe(expectedCoordinates); }