MCPcopy Create free account
hub / github.com/assimp/assimp / TEST_F

Function TEST_F

test/unit/utVersion.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46TEST_F( utVersion, aiGetLegalStringTest ) {
47 const char *lv = aiGetLegalString();
48 EXPECT_NE( lv, nullptr );
49 std::string text( lv );
50
51 size_t pos = text.find(std::string("2026"));
52 EXPECT_NE(pos, std::string::npos);
53}
54
55TEST_F( utVersion, aiGetVersionMajorTest ) {
56 EXPECT_EQ( aiGetVersionMajor(), 6U );

Callers

nothing calls this directly

Calls 7

aiGetLegalStringFunction · 0.85
aiGetVersionMajorFunction · 0.85
aiGetVersionMinorFunction · 0.85
aiGetVersionPatchFunction · 0.85
aiGetCompileFlagsFunction · 0.85
aiGetVersionRevisionFunction · 0.85
aiGetBranchNameFunction · 0.85

Tested by

no test coverage detected