1
0
forked from Alepha/Alepha

Expose the stream value adaptor for tests.

This will permit calling this stream adaptor from
various contexts which are test related.
This commit is contained in:
2024-06-13 18:02:49 -04:00
parent 500ad866eb
commit 33fa7cc711

View File

@ -39,6 +39,9 @@ namespace Alepha::Hydrogen::Testing ::detail:: printDebugging_m
template< OutputMode outputMode, typename T >
void printDebugging( const T &witness, const T &expected );
template< OutputMode outputMode, typename T >
auto streamAdaptValue( const T &v );
}
using namespace std::literals::string_literals;
@ -143,7 +146,7 @@ namespace Alepha::Hydrogen::Testing ::detail:: printDebugging_m
template< OutputMode outputMode, typename T >
auto
streamAdaptValue( const T &v )
exports::streamAdaptValue( const T &v )
{
return Adaptor< outputMode, std::decay_t< T > >{ v };
}