Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
hash_restriction_test.cc File Reference
#include <gtest/gtest.h>
#include <hash-fct.H>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for hash_restriction_test.cc:

Go to the source code of this file.

Classes

struct  is_hashable< T, typename >
 
struct  is_hashable< T, std::void_t< decltype(fnv_hash(std::declval< T >()))> >
 

Functions

 TEST (HashRestrictionTest, TriviallyCopyableTypesAreHashable)
 
 TEST (HashRestrictionTest, NonTriviallyCopyableTypesAreNotHashable)
 
 TEST (HashRestrictionTest, SpecialOverloadsStillWork)
 

Function Documentation

◆ TEST() [1/3]

TEST ( HashRestrictionTest  ,
NonTriviallyCopyableTypesAreNotHashable   
)

Definition at line 30 of file hash_restriction_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [2/3]

TEST ( HashRestrictionTest  ,
SpecialOverloadsStillWork   
)

Definition at line 36 of file hash_restriction_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [3/3]

TEST ( HashRestrictionTest  ,
TriviallyCopyableTypesAreHashable   
)

Definition at line 21 of file hash_restriction_test.cc.

References Aleph::divide_and_conquer_partition_dp().