Skip to content

Commit

Permalink
Small tests updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustWhit3 committed Dec 25, 2021
1 parent 6389cda commit 33642ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions test/tests_csmanip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ using namespace std;
// GLOBAL MACROS DEFINITION
//====================================================
#define test_string "error" + \
static_cast <std::string>(" \"") + \
static_cast <std::string>( "not" ) + \
static_cast <std::string>( "\" " ) + \
"supported" + \
"\n" \
static_cast <std::string>(" \"") + \
static_cast <std::string>( "not" ) + \
static_cast <std::string>( "\" " ) + \
"supported" + \
"\n" \

#define test_string_goto "\u001b[" + \
std::to_string( 2 ) + \
static_cast <std::string>( ";" ) + \
std::to_string( 5 ) + \
static_cast <std::string>( "H" ) \
std::to_string( 2 ) + \
static_cast <std::string>( ";" ) + \
std::to_string( 5 ) + \
static_cast <std::string>( "H" ) \

#define maps_vector vector <map <string, string>> { col, sty } \

Expand Down
10 changes: 5 additions & 5 deletions test/tests_helper_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ using namespace std;
// GLOBAL MACROS DEFINITION
//====================================================
#define test_string_hp "first" + \
static_cast <std::string>(" \"") + \
static_cast <std::string>( var ) + \
static_cast <std::string>( "\" " ) + \
"second" + \
"\n" \
static_cast <std::string>(" \"") + \
static_cast <std::string>( var ) + \
static_cast <std::string>( "\" " ) + \
"second" + \
"\n" \

#define example "a" \

Expand Down

0 comments on commit 33642ed

Please sign in to comment.