Exemple #1
0
 def test_convert_heading_not_stopped(self):
     self.assertTrue(Bus.convert_heading(360) == 'N',
                     "Bus.convert_heading(360) should return \'N\'")
Exemple #2
0
 def test_convert_heading_stopped(self):
     self.assertTrue(Bus.convert_heading(0) == '',
                     "Bus.convert_heading(0) should return \'\' because the bus is stopped")