1
0
forked from Alepha/Alepha

Add console colour support.

This commit is contained in:
2021-09-07 18:45:43 -04:00
parent 2bbb612df1
commit f7bdba6072
3 changed files with 42 additions and 10 deletions

View File

@ -13,6 +13,8 @@ static_assert( __cplusplus > 201700, "C++17 Required" );
#include <functional>
#include <memory>
#include <Alepha/console.h>
namespace Alepha::Hydrogen::Testing
{
inline namespace exports { inline namespace testing {} }
@ -23,14 +25,6 @@ namespace Alepha::Hydrogen::Testing
using namespace std::literals::string_literals;
namespace C
{
const std::string csi= "\e[";
const std::string green= C::csi + "32m";
const std::string red= C::csi + "31m";
const std::string normal= C::csi + "0m";
}
struct TestName
{
std::string name;