12 static void printTest(
const std::string& objName,
const std::string& testName)
26 static void printResult(
const std::string& testName,
bool passed)
28 std::cout <<
"\b\b\b\b";
41 template<
typename Func>
42 static bool run(
const std::string& objName,
const std::string& testName, Func&& testFunc)
45 bool result = testFunc();
51 static int _saved_row;
52 static int _saved_col;
static std::string indent()
Returns spaces for the current indentation level.
Definition SDOM_CLR.hpp:370
static const std::string fg_rgb(Byte r, Byte g, Byte b)
Returns ANSI escape sequence to set 24-bit (RGB) foreground color.
Definition SDOM_CLR.hpp:109
static const std::string GREEN
ANSI escape sequence for green foreground.
Definition SDOM_CLR.hpp:268
static const std::string RESET
ANSI escape sequence to reset formatting.
Definition SDOM_CLR.hpp:245
static const std::string LT_BLUE
ANSI escape sequence for light blue foreground.
Definition SDOM_CLR.hpp:279
Definition SDOM_UnitTests.hpp:10
static void printResult(const std::string &testName, bool passed)
Definition SDOM_UnitTests.hpp:26
static void printTest(const std::string &objName, const std::string &testName)
Definition SDOM_UnitTests.hpp:12
static bool run(const std::string &objName, const std::string &testName, Func &&testFunc)
Definition SDOM_UnitTests.hpp:42
Contains all core classes and utilities for the SDOM library.
Definition lua_BindHelpers.hpp:7