MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / TEST

Function TEST

test/storage/compression_test.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 */
22
23TEST(CompressionTests, TestStorageValueEquality) {
24 DASSERT(StorageValue{-1} == StorageValue{-2 + 1});
25 DASSERT(StorageValue{5} == StorageValue{5U});
26 DASSERT(
27 StorageValue{1} == StorageValue{StorageValue{(int128_t{1} << 100)}.get<int128_t>() >> 100});
28}
29
30/*
31 * CompressionMetadata Tests

Callers

nothing calls this directly

Calls 15

BooleanBitpackingClass · 0.85
test_compressionFunction · 0.85
UncompressedClass · 0.85
StorageValueFunction · 0.85
integerPackingMultiPageFunction · 0.85
LogicalTypeClass · 0.50
CompressionMetadataFunction · 0.50
int128_tClass · 0.50
canUpdateInPlaceMethod · 0.45
numValuesMethod · 0.45

Tested by

no test coverage detected