KI18n

spatial_index_entry.cpp
1 /*
2  SPDX-FileCopyrightText: 2021 Volker Krause <[email protected]>
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);
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 16 2022 04:07:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.