コード例 #1
0
def test_binaryGap51712():
    assert solution(51712) == 2
    
コード例 #2
0
def test_binaryGap6():
    assert solution(6) == 0
コード例 #3
0
def test_binaryGap328():
    assert solution(328) == 2
コード例 #4
0
def test_binaryGap32():
    assert solution(32) == 0
コード例 #5
0
def test_binaryGap1041():
    assert solution(1041) == 5
コード例 #6
0
def test_binaryGap20():
    assert solution(20) == 1
コード例 #7
0
def test_binaryGap15():
    assert solution(15) == 0
コード例 #8
0
def test_binaryGap9():
    assert solution(9) == 2