MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / roundTripEqual

Function roundTripEqual

source/test/lua_test.cpp:142–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141template <typename T>
142bool roundTripEqual(LuaContext const& context, T t) {
143 return context.invokePath<T>("roundTrip", t) == t;
144}
145
146TEST(LuaTest, Converters) {
147 auto luaEngine = LuaEngine::create();

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected