1 | /* |
---|---|
2 | SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #include "spatial_index_entry_p.h" |
8 | |
9 | // unit tests for the spatial index entry template |
10 | static_assert(sizeof(SpatialIndexEntry) == 5); |
11 | |
12 | static_assert(SpatialIndexEntry(0, 1023).z() == 0); |
13 | static_assert(SpatialIndexEntry(0, 1023).propertyIndex() == 1023); |
14 | |
15 | static_assert(SpatialIndexEntry(4194303, 1023).z() == 4194303); |
16 | static_assert(SpatialIndexEntry(4194303, 1023).propertyIndex() == 1023); |
17 |