encfs/vendor/github.com/muflihun/easyloggingpp/test/helpers-test.h
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

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_