blob: 972091c2c3d7f3b490a988c5ac3469079c60752a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "city.h"
#include <library/cpp/testing/unittest/registar.h>
Y_UNIT_TEST_SUITE(TCityTest) {
Y_UNIT_TEST(TestTemplatesCompiling) {
TStringBuf s;
CityHash64(s);
CityHash64WithSeed(s, 1);
CityHash64WithSeeds(s, 1, 2);
CityHash128(s);
CityHash128WithSeed(s, uint128(1, 2));
UNIT_ASSERT(s.empty());
}
}
|