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