add within

This commit is contained in:
chatlanin
2022-03-02 11:08:14 +03:00
parent d7bff82e02
commit 55a2bacc0e
9 changed files with 64 additions and 4 deletions

13
tests/string.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include <gtest/gtest.h>
#include <string>
#include <vector>
#include "string/string.hpp"
TEST(split_str, check)
{
hack::v_str v { "asdf", "qwer", "zxcv" };
ASSERT_EQ(hack::split_str("asdf,qwer,zxcv", ','), v);
}