def test_within_distance_accel_neg(self): dv = DataVerify() velocity_map_test = {"0001": [[0, 30, 0], 0]} plane = self.plane_helper("0001", [0, 0, 0], [0, 15, 0]) dv.velocity_map = velocity_map_test self.assertTrue(dv.within_distance(plane))
def test_within_distance_accel_neg(self): dv = DataVerify() velocity_map_test = {"0001": [[0, 30, 0], 0]} plane = self.plane_helper("0001", [0, 0, 0], [0, 15, 0]) dv.velocity_map = velocity_map_test self.assertTrue(dv.within_distance(plane))
def test_within_distance_accel_4(self): dv = DataVerify() velocity_map_test = {"0001": [[2, 0, 0], 0]} plane = self.plane_helper("0001", [0, 0, 0], [33, 0, 0]) dv.velocity_map = velocity_map_test self.assertFalse(dv.within_distance(plane))
def test_within_distance_accel_4(self): dv = DataVerify() velocity_map_test = {"0001": [[2, 0, 0], 0]} plane = self.plane_helper("0001", [0, 0, 0], [33, 0, 0]) dv.velocity_map = velocity_map_test self.assertFalse(dv.within_distance(plane))