| 238 | |
| 239 | |
| 240 | void NCB::TCommonObjectsData::CheckAllExceptGroupIds() const { |
| 241 | if (SubgroupIds.IsDefined()) { |
| 242 | CB_ENSURE( |
| 243 | GroupIds.IsDefined(), |
| 244 | "non-empty SubgroupIds when GroupIds is not defined" |
| 245 | ); |
| 246 | CheckDataSize(SubgroupIds.GetSize(), GroupIds.GetSize(), "Subgroup Ids", false, "Group Ids size"); |
| 247 | } |
| 248 | if (Timestamp) { |
| 249 | CheckDataSize(Timestamp->size(), (size_t)SubsetIndexing->Size(), "Timestamp"); |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | void NCB::TCommonObjectsData::Check(TMaybe<TObjectsGroupingPtr> objectsGrouping) const { |
| 254 | CB_ENSURE_INTERNAL(FeaturesLayout, "FeaturesLayout is undefined"); |
no test coverage detected