13 lines
241 B
C++
13 lines
241 B
C++
#include <gtest/gtest.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "string/string.hpp"
|
|
|
|
|
|
TEST(split_str, check)
|
|
{
|
|
std::vector<std::string> v { "asdf", "qwer", "zxcv" };
|
|
ASSERT_EQ(hack::string::split_str("asdf,qwer,zxcv", ','), v);
|
|
}
|