@Test
  public void testZeroClear() {
    assertFalse(one.isZero());
    assertFalse(two.isZero());
    assertTrue(0L != one.longValue());
    assertTrue(0L != two.longValue());

    two.zeroClear();

    assertTrue(0L != one.longValue());
    assertEquals(0L, two.longValue());
    assertFalse(one.isZero());
    assertTrue(two.isZero());

    one.zeroClear();

    assertEquals(0L, one.longValue());
    assertEquals(0L, two.longValue());
    assertTrue(one.isZero());
    assertTrue(two.isZero());
  }
Testcases for {@link SignedInt128}

This code was based on code from Microsoft PolyBase.
common/src/test/org/apache/hadoop/hive/common/type/TestSignedInt128.java