Change file names etc
This commit is contained in:
parent
b5eef609d3
commit
cc965a853e
|
@ -75,7 +75,7 @@ void test_basic_operations(const Trie<Fast>& trie, const std::vector<Key>& keys,
|
||||||
|
|
||||||
for (auto& key : keys) {
|
for (auto& key : keys) {
|
||||||
const auto id = trie.lookup(key.ptr, key.length);
|
const auto id = trie.lookup(key.ptr, key.length);
|
||||||
assert(id != kNotFound);
|
assert(id != NOT_FOUND);
|
||||||
|
|
||||||
std::vector<uint8_t> ret;
|
std::vector<uint8_t> ret;
|
||||||
trie.access(id, ret);
|
trie.access(id, ret);
|
||||||
|
@ -86,7 +86,7 @@ void test_basic_operations(const Trie<Fast>& trie, const std::vector<Key>& keys,
|
||||||
|
|
||||||
for (auto& other : others) {
|
for (auto& other : others) {
|
||||||
const auto id = trie.lookup(other.ptr, other.length);
|
const auto id = trie.lookup(other.ptr, other.length);
|
||||||
assert(id == kNotFound);
|
assert(id == NOT_FOUND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
8
src/xcdat.hpp
Normal file
8
src/xcdat.hpp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
//
|
||||||
|
// Created by Shunsuke Kanda on 2017/11/10.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef XCDAT_XCDAT_HPP
|
||||||
|
#define XCDAT_XCDAT_HPP
|
||||||
|
|
||||||
|
#endif //XCDAT_XCDAT_HPP
|
Loading…
Reference in a new issue