Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions Framework/Core/test/test_ASoA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1484,13 +1484,13 @@ DECLARE_SOA_COLUMN(UInt8, guint8, uint8_t);
DECLARE_SOA_COLUMN(UInt16, guint16, uint16_t);
DECLARE_SOA_COLUMN(UInt32, guint32, uint32_t);
DECLARE_SOA_COLUMN(UInt64, guint64, uint64_t);
}
} // namespace test

DECLARE_SOA_TABLE(UnsignedIntTest8, "TEST", "TSHI8", test::UInt8);
DECLARE_SOA_TABLE(UnsignedIntTest16, "TEST", "TSHI16", test::UInt16);
DECLARE_SOA_TABLE(UnsignedIntTest32, "TEST", "TSHI32", test::UInt32);
DECLARE_SOA_TABLE(UnsignedIntTest64, "TEST", "TSHI64", test::UInt64);
}
} // namespace o2::aod

TEST_CASE("TestUnsignedIntExpressions")
{
Expand All @@ -1501,8 +1501,7 @@ TEST_CASE("TestUnsignedIntExpressions")

TableBuilder b8;
auto writer8 = b8.cursor<o2::aod::UnsignedIntTest8>();
for (uint64_t i = 0; i < max8; i += (max8 / 100))
{
for (uint64_t i = 0; i < max8; i += (max8 / 100)) {
writer8(0, i);
}
auto t8 = b8.finalize();
Expand All @@ -1519,8 +1518,7 @@ TEST_CASE("TestUnsignedIntExpressions")

TableBuilder b16;
auto writer16 = b16.cursor<o2::aod::UnsignedIntTest16>();
for (uint64_t i = 0; i < max16; i += (max16 / 100))
{
for (uint64_t i = 0; i < max16; i += (max16 / 100)) {
writer16(0, i);
}
auto t16 = b16.finalize();
Expand All @@ -1537,8 +1535,7 @@ TEST_CASE("TestUnsignedIntExpressions")

TableBuilder b32;
auto writer32 = b32.cursor<o2::aod::UnsignedIntTest32>();
for (uint64_t i = 0; i < max32; i += (max32 / 100))
{
for (uint64_t i = 0; i < max32; i += (max32 / 100)) {
writer32(0, i);
}
auto t32 = b32.finalize();
Expand All @@ -1555,8 +1552,7 @@ TEST_CASE("TestUnsignedIntExpressions")

TableBuilder b64;
auto writer64 = b64.cursor<o2::aod::UnsignedIntTest64>();
for (uint64_t i = 0; i < max64; i += (max64 / 100))
{
for (uint64_t i = 0; i < max64; i += (max64 / 100)) {
writer64(0, i);
}
auto t64 = b64.finalize();
Expand Down