def test_list_gte_zero():
    controls = [0, 1]
    obj = DoubleControl(controls=controls)
    assert obj.controls == controls
def test_list_extra_params():
    DoubleControl(controls=[0, 1], foo="bar")
def test_list_of_1():
    DoubleControl(controls=[1])
def test_list_of_3():
    DoubleControl(controls=[1, 2, 3])
def test_empty_list():
    DoubleControl(controls=[])
def test_list_partial_lt_zero():
    DoubleControl(controls=[0, -1])
def test_list_lt_zero():
    DoubleControl(controls=[-1, -2])
def test_list_partial_non_int():
    DoubleControl(controls=[0, "foo"])
def test_missing_controls():
    DoubleControl()