| 10 | namespace xgboost { |
| 11 | namespace test_cat_detail { |
| 12 | inline void HostCheck(CatContainer const& cats) { |
| 13 | ASSERT_TRUE(cats.HasCategorical()); |
| 14 | ASSERT_FALSE(cats.Empty()); |
| 15 | ASSERT_TRUE(cats.HostCanRead()); |
| 16 | ASSERT_FALSE(cats.DeviceCanRead()); |
| 17 | } |
| 18 | |
| 19 | inline void DeviceCheck(CatContainer const& cats) { |
| 20 | ASSERT_TRUE(cats.HasCategorical()); |
no test coverage detected