public void ParseColumnTest(string boardingPass, int col) { // Arrange var seatCalculator = new SeatCalculator(); // Act var seat = seatCalculator.Find(boardingPass); // Assert Assert.That(seat.Column, Is.EqualTo(col)); }
public void ParseRowTest(string boardingPass, int row) { // Arrange var seatCalculator = new SeatCalculator(); // Act var seat = seatCalculator.Find(boardingPass); // Assert Assert.That(seat.Row, Is.EqualTo(row)); }