From efce5b6bd5c9d4f8214a71e0f7a7c35751710a4c Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Nov 2021 01:17:11 +0800 Subject: + tolua + lpeg --- ThirdParty/toluapp/src/tests/tconstant.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ThirdParty/toluapp/src/tests/tconstant.lua (limited to 'ThirdParty/toluapp/src/tests/tconstant.lua') diff --git a/ThirdParty/toluapp/src/tests/tconstant.lua b/ThirdParty/toluapp/src/tests/tconstant.lua new file mode 100644 index 0000000..f7753fe --- /dev/null +++ b/ThirdParty/toluapp/src/tests/tconstant.lua @@ -0,0 +1,11 @@ +assert(FIRST==M.FIRST) +assert(FIRST==A.FIRST) +assert(SECOND==M.SECOND) +assert(SECOND==A.SECOND) + +assert(ONE==M.ONE) +assert(ONE==A.ONE) +assert(TWO==M.TWO) +assert(TWO==A.TWO) + +print("Constant test OK") -- cgit v1.1-26-g67d0