Пример #1
0
def test_size_associative():
    assert AMF3ArrayPacker.size(ASSOCIATIVE, [], [], []) == ASSOCIATIVE_SIZE
Пример #2
0
def test_size_primitive():
    assert AMF3ArrayPacker.size(PRIMITIVE, [], [], []) == PRIMITIVE_SIZE
Пример #3
0
def test_size_empty():
    assert AMF3ArrayPacker.size(EMPTY, [], [], []) == EMPTY_SIZE
Пример #4
0
def test_size_associative():
    assert AMF3ArrayPacker.size(ASSOCIATIVE, [], [], []) == ASSOCIATIVE_SIZE
Пример #5
0
def test_size_primitive():
    assert AMF3ArrayPacker.size(PRIMITIVE, [], [], []) == PRIMITIVE_SIZE
Пример #6
0
def test_size_empty():
    assert AMF3ArrayPacker.size(EMPTY, [], [], []) == EMPTY_SIZE