rdblue commented on code in PR #18544:
URL: https://github.com/apache/iceberg/pull/18544#discussion_r4365179720


##########
core/src/test/java/org/apache/iceberg/mumbling/TestMumblingBitmap.java:
##########
@@ -27,9 +27,62 @@
 
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import java.util.Random;
 import org.junit.jupiter.api.Test;
 
 class TestMumblingBitmap {
+  private static final int HEADER_SIZE = 6;
+  private static final byte[] DENSE_CONTAINER = new byte[32];
+
+  static {
+    DENSE_CONTAINER[1] = (byte) 0xFF;
+    DENSE_CONTAINER[3] = (byte) 0xFF;
+    DENSE_CONTAINER[5] = (byte) 0xFF;
+    DENSE_CONTAINER[7] = (byte) 0xFF;
+  }
+
+  private static final MumblingBitmap MUTABLE_TEST_BASE =
+      bitmap(sparse(0), dense(DENSE_CONTAINER), sparse(255));
+
+  @Test
+  public void testInvalidVersion() {

Review Comment:
   Added tests for descriptors 33, 64, and 128.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to