Exemplo n.º 1
0
def test_hexstr_data_to_bytes_1():
    assert hex_strings_to_bytes(['FFFF']) == b"\xff\xff"
Exemplo n.º 2
0
def test_hexstr_data_to_bytes_2():
    assert hex_strings_to_bytes(['F0F0', '1A1C']) == b"\xF0\xF0\x1A\x1C"
Exemplo n.º 3
0
def test_hexstr_data_to_bytes_2():
    assert hex_strings_to_bytes(["F0F0", "1A1C"]) == b"\xF0\xF0\x1A\x1C"