### Question:
Bits { public static long set(final long v, final int bit) { return v | 1 << bit; }  static long set(final long v, final int bit); static int set(final int v, final int bit); static long unset(final long v, final int bit); static int unset(final int v, final int bit);  }### Answer:
@Test public void testSet() { assertEquals(3, Bits.set(2, 0)); assertEquals(3, Bits.set(1, 1)); assertEquals(1, Bits.set(1, 0)); }