Jlm
Classes | Typedefs | Functions
IntrusiveHashTests.cpp File Reference
#include <gtest/gtest.h>
#include <jlm/util/intrusive-hash.hpp>
Include dependency graph for IntrusiveHashTests.cpp:

Go to the source code of this file.

Classes

struct  MyItem
 
struct  MyAccessor
 
struct  MyStringItem
 

Typedefs

typedef jlm::util::IntrusiveHash< int, MyItem, MyAccessormy_hash
 
typedef jlm::util::IntrusiveHash< std::string, MyStringItem, MyStringItem::hash_accessormy_strhash
 

Functions

 TEST (IntrusiveHashTests, test_int_hash)
 
 TEST (IntrusiveHashTests, test_str_hash)
 

Typedef Documentation

◆ my_hash

Definition at line 60 of file IntrusiveHashTests.cpp.

◆ my_strhash

Definition at line 81 of file IntrusiveHashTests.cpp.

Function Documentation

◆ TEST() [1/2]

TEST ( IntrusiveHashTests  ,
test_int_hash   
)

Definition at line 83 of file IntrusiveHashTests.cpp.

◆ TEST() [2/2]

TEST ( IntrusiveHashTests  ,
test_str_hash   
)

Definition at line 118 of file IntrusiveHashTests.cpp.