def test_zzx_sqf():
    assert zzx_sqf_part([2,2]) == [1,1]
    assert zzx_sqf_p([2,2]) == True

    assert zzx_sqf_part([1,0,1,1]) == [1,0,1,1]
    assert zzx_sqf_p([1,0,1,1]) == True

    assert zzx_sqf_part([2,3,0,0]) == [2,3,0]
    assert zzx_sqf_p([2,3,0,0]) == False
示例#2
0
def test_zzx_sqf():
    assert zzx_sqf_part([2, 2]) == [1, 1]
    assert zzx_sqf_p([2, 2]) == True

    assert zzx_sqf_part([1, 0, 1, 1]) == [1, 0, 1, 1]
    assert zzx_sqf_p([1, 0, 1, 1]) == True

    assert zzx_sqf_part([2, 3, 0, 0]) == [2, 3, 0]
    assert zzx_sqf_p([2, 3, 0, 0]) == False
def test_zzx_sqf_part():
    assert zzx_sqf_part([2,3,0,0]) == [2,3,0]
    assert zzx_sqf_part([1,0,1,1]) == [1,0,1,1]
def test_zzx_sqf_part():
    assert zzx_sqf_part([2, 3, 0, 0]) == [2, 3, 0]
    assert zzx_sqf_part([1, 0, 1, 1]) == [1, 0, 1, 1]