Ben Lubar
c06d1f8e52
tagged union support for lua ( #1818 )
2021-03-30 15:55:06 -05:00
lethosor
e9efa6c961
Update xml, fix + improve robustness of unions.lua unit tests
...
- unit_action_fields(): handled primitive union members correctly
- unit_action_type(): added messages to make failures easier to diagnose
- Also removed redundant checks that effectively checked that
`enum.attrs[k] == enum.attrs[v]` - this is out of scope of union tests
2021-03-23 21:24:57 -04:00
lethosor
f0ad730a37
Lua: Fix off-by-one preventing accessing last df-other-vectors item by ID, add tests
2020-07-26 02:11:27 -04:00
lethosor
4891b4fd5e
Fix indexing primitive refs with integers (broken in #1543 ), add tests
...
Apparently lua_tostring has the side effect of *converting* numbers to strings
2020-07-25 20:22:52 -04:00
lethosor
1f1bb5a055
Update Lua API docs for ref_target field, add tests
2020-07-14 02:57:30 -04:00
lethosor
498eb2750b
+Tests
2020-04-06 19:28:34 -04:00
lethosor
d664681ea8
Add a basic test for df.image_set.find()
2020-04-05 23:30:24 -04:00
lethosor
5598b332f2
Reorganize structures tests and add basic unit_action-related tests
2020-04-01 02:30:55 -04:00