| 15 | #include "model_loader/detail/xgboost.h" |
| 16 | |
| 17 | TEST(ModelLoader, StringTrim) { |
| 18 | std::string s{"foobar\r\n"}; |
| 19 | treelite::model_loader::detail::StringTrimFromEnd(s); |
| 20 | EXPECT_EQ(s, "foobar"); |
| 21 | } |
| 22 | |
| 23 | TEST(ModelLoader, StringStartsWith) { |
| 24 | std::string s{"foobar"}; |
nothing calls this directly
no test coverage detected