4d6c315c1e
Summary: Block Allocator Test - initial implementation Test Plan: ctest -R memgraph_unit_block_allocator Reviewers: sale Subscribers: sale, buda Differential Revision: https://memgraph.phacility.com/D20
21 lines
523 B
C++
21 lines
523 B
C++
#include <iostream>
|
|
|
|
#include "query/backend/cpp_old/query_action_data.hpp"
|
|
#include "utils/assert.hpp"
|
|
|
|
using ParameterIndexKey::Type::InternalId;
|
|
using ParameterIndexKey::Type::Projection;
|
|
|
|
auto main() -> int
|
|
{
|
|
std::map<ParameterIndexKey, uint64_t> parameter_index;
|
|
|
|
parameter_index[ParameterIndexKey(InternalId, "n1")] = 0;
|
|
parameter_index[ParameterIndexKey(InternalId, "n2")] = 1;
|
|
|
|
permanent_assert(parameter_index.size() == 2,
|
|
"Parameter index size should be 2");
|
|
|
|
return 0;
|
|
}
|