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

Function Equal

catboost/libs/data/ut/objects_ut.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55template <class T>
56bool Equal(TMaybeData<TConstArrayRef<T>> lhs, TMaybeData<TVector<T>> rhs) {
57 if (!lhs) {
58 return !rhs;
59 }
60 if (!rhs) {
61 return false;
62 }
63 return Equal(*lhs, *rhs);
64}
65
66
67Y_UNIT_TEST_SUITE(TRawObjectsData) {

Callers 2

Y_UNIT_TESTFunction · 0.70
TestSubsetFeaturesFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestSubsetFeaturesFunction · 0.56