Exemplo n.º 1
0
def test_cycle_find_not_found():
    assert pwny.cycle_find('\x00', width=1) == -1
Exemplo n.º 2
0
def test_cycle_find_start():
    assert pwny.cycle_find('AAAA') == 0
Exemplo n.º 3
0
def test_cycle_find():
    assert pwny.cycle_find('PAAA') == 60
Exemplo n.º 4
0
def test_cycle_find_not_found():
    assert pwny.cycle_find('\x00', width=1) == -1
Exemplo n.º 5
0
def test_cycle_find_start():
    assert pwny.cycle_find('AAAA') == 0
Exemplo n.º 6
0
def test_cycle_find():
    assert pwny.cycle_find('PAAA') == 60