def test_addRide(self): park = Park() ride = Ride() park.addRide(ride) self.assertEqual(len(park.rides()), 1)
def test_rides_no_rides(self): park = Park() self.assertEqual(park.rides(), [])