1st failed test

This commit is contained in:
devZoGok
2023-08-15 10:06:04 +03:00
parent c476e70444
commit 09ed7c34bc
3 changed files with 22 additions and 3 deletions
+8
View File
@@ -1,6 +1,11 @@
#include "luaFieldsTest.h"
#include "luaFields.h"
#include <string>
namespace gameBase{
using namespace std;
void LuaFieldsTest::setUp(){
}
@@ -8,5 +13,8 @@ namespace gameBase{
}
void LuaFieldsTest::testTableToString(){
string toStringRes = "table = {a = 1, b = 2.2, c = true, d = \"false\", e = {x = 20, y = {}}}";
LuaTableField table("table");
CPPUNIT_ASSERT(table.toString() == toStringRes);
}
}