mirror of
https://github.com/vgough/encfs.git
synced 2024-12-01 20:34:04 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
19 lines
412 B
C++
19 lines
412 B
C++
|
|
#ifndef HELPERS_TEST_H_
|
|
#define HELPERS_TEST_H_
|
|
|
|
#include "test.h"
|
|
#include <vector>
|
|
|
|
TEST(HelpersTest, ConvertTemplateToStdString) {
|
|
std::vector<int> vecInt;
|
|
vecInt.push_back(1);
|
|
vecInt.push_back(2);
|
|
vecInt.push_back(3);
|
|
vecInt.push_back(4);
|
|
std::string strVecInt = el::Helpers::convertTemplateToStdString(vecInt);
|
|
EXPECT_EQ("[1, 2, 3, 4]", strVecInt);
|
|
}
|
|
|
|
#endif // HELPERS_TEST_H_
|