1
0
forked from Alepha/Alepha

Include the tests for dumbhash!

This commit is contained in:
2025-11-03 16:32:56 -10:00
parent a9d4aabf02
commit 8015d17e97
3 changed files with 9 additions and 3 deletions

View File

@ -50,5 +50,7 @@ add_subdirectory( Capabilities.test )
add_subdirectory( delimited_list.test )
add_subdirectory( UniversalAggregate.test )
add_subdirectory( dumbhash.test )
# Sample applications
add_executable( example example.cc )

View File

@ -11,14 +11,14 @@ static_assert( __cplusplus > 2020'99 );
#include <Alepha/Testing/test.h>
#include <Alepha/Testing/TableTest.h>
#include <Alepha/Utility/evaluation.h>
#include <Alepha/Utility/evaluation_helpers.h>
#include <Alepha/comparisons.h>
namespace
{
using namespace Alepha::Testing::exports;
using namespace Alepha::Utility::exports::evaluation;
using namespace Alepha::exports::types;
using namespace Alepha::Utility::exports::evaluation_helpers_m;
using namespace Alepha::exports::types_m;
using hash_type= std::uint64_t;
@ -60,6 +60,9 @@ namespace
enum { Unit };
// NOTE: The pretty-function trailing `]` character is hashed, too,
// as we need to have arbitrary length `constexpr` viewable text...
// thus we need a `const char *` returned from this function.
template< typename T >
constexpr const char *
typesig()

View File

@ -0,0 +1 @@
unit_test( 0 )