AntoinePrv commented on code in PR #47294: URL: https://github.com/apache/arrow/pull/47294#discussion_r2307046385
########## cpp/src/arrow/util/bit_util_test.cc: ########## @@ -1997,11 +1997,119 @@ TEST(BitUtil, RoundUpToPowerOf2) { #undef U64 #undef S64 +/// Test the maximum number of bytes needed to write a LEB128 of a give size. +TEST(BitStreamUtil, MaxLEB128ByteLenFor) { Review Comment: Either way works for me. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org