def test_read_empty(fd): assert AMF3ArrayPacker.read(fd, [], [], []) == EMPTY
def test_size_primitive(): assert AMF3ArrayPacker.size(PRIMITIVE, [], [], []) == PRIMITIVE_SIZE
def test_size_associative(): assert AMF3ArrayPacker.size(ASSOCIATIVE, [], [], []) == ASSOCIATIVE_SIZE
def test_pack_associative(): assert AMF3ArrayPacker.pack(ASSOCIATIVE, [], [], []) == ASSOCIATIVE_BYTES
def test_size_empty(): assert AMF3ArrayPacker.size(EMPTY, [], [], []) == EMPTY_SIZE
def test_pack_primitive(): assert AMF3ArrayPacker.pack(PRIMITIVE, [], [], []) == PRIMITIVE_BYTES
def test_read_primitive(fd): assert AMF3ArrayPacker.read(fd, [], [], []) == PRIMITIVE
def test_read_associative(fd): assert AMF3ArrayPacker.read(fd, [], [], []) == ASSOCIATIVE
def test_pack_empty(): assert AMF3ArrayPacker.pack(EMPTY, [], [], []) == EMPTY_BYTES