def test_zzx_neg():
    assert zzx_neg([]) == []
    assert zzx_neg([1]) == [-1]
    assert zzx_neg([-7]) == [7]
    assert zzx_neg([-1,2,3]) == [1,-2,-3]
Esempio n. 2
0
def test_zzx_neg():
    assert zzx_neg([]) == []
    assert zzx_neg([1]) == [-1]
    assert zzx_neg([-7]) == [7]
    assert zzx_neg([-1, 2, 3]) == [1, -2, -3]
Esempio n. 3
0
def test_zzx_neg():
    assert zzx_neg([-1,2,3]) == [1,-2,-3]
Esempio n. 4
0
def test_zzx_neg():
    assert zzx_neg([-1, 2, 3]) == [1, -2, -3]