def test_example4Row(self): row = seating.findRow("BBFFBBFRLL", 0, 127) self.assertEqual(row, 102)
def test_example3Row(self): row = seating.findRow("FFFBBBFRRR", 0, 127) self.assertEqual(row, 14)
def test_backRow(self): row = seating.findRow("BBB", 0, 7) self.assertEqual(row, 7)
def test_example1Row(self): row = seating.findRow("FBFBBFF", 0, 127) self.assertEqual(row, 44)
def test_frontRow(self): row = seating.findRow("FFF", 0, 7) self.assertEqual(row, 0)