forked from Alepha/Alepha
27 lines
557 B
C++
27 lines
557 B
C++
static_assert( __cplusplus > 2020'99 );
|
|
|
|
#include <Alepha/Testing/TableTest.h>
|
|
|
|
|
|
#include <Alepha/Testing/test.h>
|
|
#include <Alepha/Utility/evaluation_helpers.h>
|
|
|
|
#include <Alepha/Algorithm/identity.h>
|
|
|
|
namespace
|
|
{
|
|
using namespace Alepha::Testing::exports;
|
|
using namespace Alepha::Utility::exports::evaluation_helpers_m;
|
|
using namespace Alepha::Algorithm::exports;
|
|
|
|
auto init= enroll <=[]
|
|
{
|
|
auto x= identity< int >( 42 );
|
|
|
|
"Simple Identity Test"_test <=TableTest< identity< std::string > >::Cases
|
|
{
|
|
{ "Tony 1", { "tony" }, "tony" },
|
|
};
|
|
};
|
|
}
|