Implement probe_lua and add it to lpxclient/lpxserver

This commit is contained in:
2021-11-26 13:56:24 -05:00
parent c02109699e
commit 1e93533246
10 changed files with 134 additions and 35 deletions

View File

@@ -671,12 +671,7 @@ LuaDefine(unittests_animqueue, "c") {
// Change the queue size limit.
aq.set_limit(13);
LuaAssert(L, diff_works(aq, aqds));
// compare again, should be no differences.
LuaAssert(L, aqds.version_identical(aq));
LuaAssert(L, aqds.size_and_steps_equal(aq));
LuaAssert(L, diff_works(aq, aqds));
// Discard all but the last action.
aq.set_limit(1);
LuaAssert(L, diff_works(aq, aqds));