コード例 #1
0
def test_powered_on_status_report():
    wheel = ReactionWheel(axis=YAW, max_force=15)
    wheel.powered_on = False
    assert wheel.status_report["powered_on"] == wheel.powered_on, \
        "Wheel powered_on is innacurately reported"
コード例 #2
0
def test_is_active_status_report_no_power():
    wheel = ReactionWheel(axis=YAW, max_force=15)
    wheel.powered_on = False
    assert wheel.status_report["is_active"] == wheel.is_active, \
        "Wheel is_active is innacurately reported"