File indexing completed on 2024-04-21 03:54:30
0001 /* 0002 SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "spatial_index_entry_p.h" 0008 0009 // unit tests for the spatial index entry template 0010 static_assert(sizeof(SpatialIndexEntry) == 5); 0011 0012 static_assert(SpatialIndexEntry(0, 1023).z() == 0); 0013 static_assert(SpatialIndexEntry(0, 1023).propertyIndex() == 1023); 0014 0015 static_assert(SpatialIndexEntry(4194303, 1023).z() == 4194303); 0016 static_assert(SpatialIndexEntry(4194303, 1023).propertyIndex() == 1023);