MCPcopy Create free account
hub / github.com/catboost/catboost / TCmp

Class TCmp

library/cpp/testing/unittest/registar.cpp:442–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440 };
441
442 struct TCmp {
443 template <class T>
444 inline bool operator()(const T& l, const T& r) const noexcept {
445 return stricmp(Fix(l.Name().data()), Fix(r.Name().data())) < 0;
446 }
447
448 static inline const char* Fix(const char* n) noexcept {
449 if (*n == 'T') {
450 return n + 1;
451 }
452
453 return n;
454 }
455 };
456}
457
458NUnitTest::TTestFactory::TTestFactory(ITestSuiteProcessor* processor)

Callers 1

ExecuteMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected