10 lines
220 B
C++
10 lines
220 B
C++
#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);
|
|
}
|