WIP: save progress

This commit is contained in:
jonschz 2024-05-23 20:46:28 +02:00
parent 46dbe1a608
commit 03cf2560ac

View File

@ -374,7 +374,7 @@ def test_2d_array(parser):
def test_enum(parser):
"""LF_ENUM should equal 4-byte int"""
assert parser.get("0x3cc2").size == 4
assert parser.get_scalars("0x3cc2") == [(0, None, "T_INT4")]
assert parser.get_scalars("0x3cc2") == [(0, None, "T_INT4(0074)")]
# Now look at an array of enum, 24 bytes
enum_array = parser.get_scalars("0x4262")