MCPcopy Create free account
hub / github.com/Samsung/UTopia / check

Method check

tests/astvalue/TestASTValue.cpp:335–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334protected:
335 bool check(std::string FuncName, unsigned BIdx, unsigned IIdx) {
336
337 auto AST = getASTFromInst(FuncName, BIdx, IIdx);
338 if (!AST.first || !AST.second)
339 return false;
340
341 ASTValue V1(*AST.first, *AST.second);
342 ASTValue V2(V1.toJson());
343
344 return V1 == V2;
345 }
346};
347
348TEST_F(TestSerialize, NoneN) {

Callers

nothing calls this directly

Calls 1

toJsonMethod · 0.45

Tested by

no test coverage detected