mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
13 lines
338 B
C++
13 lines
338 B
C++
#include "storm/Hash.hpp"
|
|
#include "test/Test.hpp"
|
|
|
|
struct TestHashObject: TSHashObject<TestHashObject, HASHKEY_STRI> {
|
|
uint32_t index = 0;
|
|
};
|
|
|
|
TEST_CASE("TSHashTable", "[hash]") {
|
|
SECTION("constructs correctly") {
|
|
TSHashTable<TestHashObject, HASHKEY_STRI> hashTable;
|
|
REQUIRE(hashTable.Head() == nullptr);
|
|
}
|
|
}
|