public void or(Bitmap other)
    {
        requireNonNull(other, "cannot combine with null Bitmap");
        checkArgument(length() == other.length(), "cannot OR two bitmaps of different size");

        bitSet.or(other.bitSet);
    }
@Test
    public static void testOr()
    {
        Bitmap bitmapA = Bitmap.fromBytes(100 * 8, BYTE_STRING_A);
        Bitmap bitmapB = Bitmap.fromBytes(100 * 8, BYTE_STRING_B);
        Bitmap bitmapC = bitmapA.clone();
        bitmapC.or(bitmapB);

        for (int i = 0; i < 100 * 8; i++) {
            assertEquals(bitmapC.getBit(i), bitmapA.getBit(i) | bitmapB.getBit(i));
        }
    }