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