AntoinePrv commented on code in PR #50217:
URL: https://github.com/apache/arrow/pull/50217#discussion_r3442817323


##########
cpp/src/arrow/util/bit_util_test.cc:
##########
@@ -726,6 +726,23 @@ TEST(BitUtil, ByteSwap) {
   EXPECT_EQ(bit_util::ByteSwap(srcd64), expectedd64);
 }
 
+TEST(BitUtil, Get32Bits) {
+  const std::array<uint8_t, 12> src = {0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc,
+                                       0xde, 0xf0, 0x11, 0x22, 0x33, 0x44};
+
+  // The result's in-memory bytes must reproduce the source bit-stream slice
+  // so each result bit must match the corresponding source bit.
+  for (uint64_t offset = 0; offset <= 24; ++offset) {

Review Comment:
   Removed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to