fixup lui: unneeded copy&paste of STATIC_ASSERT

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
fixup lui: counted getters

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui: getter for tool table information

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui-test: factor out introspect tests

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui-test: return to estop at end

.. allowing the test to be run multiple times in one linuxcnc session

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui: introspect some tool information

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui-test: introduce, use fatal_if

.. a sort of assert which prints a message when it fails.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
lui-test: test consistency of counted getters

.. a rudimentary check that lui_get_xxx, lui_get_xxx_count, and
lui_get_xxx_idx are consistent.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
fixup! lui-test: factor out introspect tests

Signed-off-by: Jeff Epler <jepler@unpythonic.net>