forked from Alepha/Alepha
21 lines
634 B
C++
21 lines
634 B
C++
static_assert( __cplusplus > 2020'99 );
|
|
|
|
#pragma once
|
|
|
|
#include <Alepha/Console.h>
|
|
|
|
namespace Alepha::Hydrogen::Testing ::detail:: colors_m
|
|
{
|
|
namespace C
|
|
{
|
|
inline namespace Colors
|
|
{
|
|
inline const auto testFail= createStyle( "test-failure", setFgColor( BasicTextColor::red ) );
|
|
inline const auto testPass= createStyle( "test-success", setFgColor( BasicTextColor::green ) );
|
|
inline const auto testWarn= createStyle( "test-warn", "italic ansi:5"_sgr );
|
|
inline const auto testInfo= createStyle( "test-info", "italic ext:11"_sgr );
|
|
inline const auto testStat= createStyle( "test-status", "ext:rgb235"_sgr );
|
|
}
|
|
}
|
|
}
|