memgraph/tests/lockfree_hashmap.cpp
2016-06-05 14:30:40 +02:00

12 lines
247 B
C++

#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "data_structures/map/hashmap.hpp"
TEST_CASE("Lockfree HashMap basic functionality")
{
lockfree::HashMap<int, int> hashmap;
hashmap.put(32, 10);
REQUIRE(hashmap.at(32) == 10);
}