public void SeatingParsingTest() { var seating = new Seating(_testInput); Assert.AreEqual('L', seating.GetSeat(0, 0)); Assert.AreEqual('L', seating.GetSeat(0, 1)); Assert.AreEqual('.', seating.GetSeat(1, 0)); Assert.AreEqual('L', seating.GetSeat(9, 9)); }
public bool SameSpot(Seating other) { if (other.GetTable().Equals(table) && other.GetSeat().Equals(seat)) { return(true); } else { return(false); } }