class UniverseTest(unittest.TestCase): def setUp(self): self.universe = EliteUniverse() def test_find_route_options(self): o = self.universe.findRouteOptions('Aerial',5) self.assertIsNotNone(o) print(o)
class MainTest(unittest.TestCase): def setUp(self): self.universe = EliteUniverse() self.distances = DistanceMatrix() def test_distance_matrix(self): self.assertIsNotNone(self.distances) def test_locate_system(self): s = self.universe.findSystem('Arouca') self.assertIsNotNone(s) self.assertEqual(s.name, 'Arouca')
def setUp(self): self.universe = EliteUniverse()
def setUp(self): self.universe = EliteUniverse() self.distances = DistanceMatrix()