|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Regression tests for HashSet/HashMap default backends. More...
#include <string>#include <type_traits>#include <unordered_set>#include <gtest/gtest.h>#include <tpl_hash.H>Go to the source code of this file.
Regression tests for HashSet/HashMap default backends.
These tests pin the default hash backend for HashSet and HashMap (OLhashTable / MapOLhash, changed from OD in commit 323aeb7b) and verify that both OL and OD backends are functionally equivalent. If the default is intentionally changed in the future the static_asserts below will catch it at compile time, forcing an explicit acknowledgment of the breaking change.
Definition in file hash_backends_test.cc.