def test_properties(): wm = CyWindMover() wm.uncertain_duration = 1 wm.uncertain_time_delay = 2 wm.uncertain_speed_scale = 3 wm.uncertain_angle_scale = 4 assert wm.uncertain_duration == 1 assert wm.uncertain_time_delay == 2 assert wm.uncertain_speed_scale == 3 assert wm.uncertain_angle_scale == 4
def test_eq(): wm = CyWindMover() other_wm = CyWindMover() assert wm == other_wm other_wm = CyWindMover() other_wm.uncertain_duration = 1 assert wm != other_wm other_wm = CyWindMover() other_wm.uncertain_time_delay = 2 assert wm != other_wm other_wm = CyWindMover() other_wm.uncertain_speed_scale = 3 assert wm != other_wm other_wm = CyWindMover() other_wm.uncertain_angle_scale = 4 assert wm != other_wm