diff --git a/tests/branches/test_branch_scripts.py b/tests/branches/test_branch_scripts.py index 3b79083c..58df0756 100644 --- a/tests/branches/test_branch_scripts.py +++ b/tests/branches/test_branch_scripts.py @@ -150,3 +150,9 @@ def test_branch_script(branch_script): # TODO: use tests/maplist.py to look at headers to ensure UNUSED_* / UNKNOWN_* lumps are correctly marked # -- looking for unmapped lump versions in ValveBsp & RespawnBsp would be nice too + +# TODO: assert LumpClasses capture all bytes (no gaps caused by alignment) +# sizeof(_format) == sum(map(sizeof, _format)) + +# TODO: verify LumpClass __annotations__ match _format ("hHiI": int, "fg": float, "s": str, "?": bool) +# NOTE: _classes will override base type diff --git a/tests/todos.txt b/tests/todos.txt deleted file mode 100644 index f24c15db..00000000 --- a/tests/todos.txt +++ /dev/null @@ -1,8 +0,0 @@ -assert all lump class formats don't discard bytes - byte alignment can skip a short etc - -ensure methods work for each index of their associated lump - is it possible to hook a lump method to a parent .bsp? - -ensure type hints on LumpClasses are correct - mix with py_struct_as_cpp auto-generation