Initial site generation
This commit is contained in:
parent
f44c79dc1f
commit
fc44290e3f
35 changed files with 667 additions and 303 deletions
|
@ -1,8 +1,9 @@
|
|||
set(CORE_UNIT_TEST_FILES
|
||||
core/TestByteUtils.cpp
|
||||
core/TestBitStream.cpp
|
||||
core/TestTomlReader.cpp
|
||||
core/TestDataStructures.cpp
|
||||
core/TestTomlReader.cpp
|
||||
core/TestStringUtils.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
|
|
15
test/core/TestStringUtils.cpp
Normal file
15
test/core/TestStringUtils.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include "StringUtils.h"
|
||||
|
||||
#include "TestFramework.h"
|
||||
#include "TestUtils.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
TEST_CASE(TestStringUtils_Strip, "core")
|
||||
{
|
||||
std::string input = " super() ";
|
||||
std::string stripped = StringUtils::strip(input);
|
||||
|
||||
auto predicate = stripped == "super()";
|
||||
REQUIRE(predicate);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue