Esempio n. 1
0
def test_getMaxConsectiveOnes_tc2():
    assert bin_num.getMaxConsectiveOnes(bin(2002)[2:]) == 5
Esempio n. 2
0
def test_getMaxConsectiveOnes_tc5():
    assert bin_num.getMaxConsectiveOnes(bin(124587)[2:]) == 4
Esempio n. 3
0
def test_getMaxConsectiveOnes():
    assert bin_num.getMaxConsectiveOnes(bin(13)[2:]) == 2
Esempio n. 4
0
def test_getMaxConsectiveOnes_tc4():
    assert bin_num.getMaxConsectiveOnes(bin(99999)[2:]) == 5