BooleanConversions { @Nonnull static ULong booleanToUInt64(@Nonnull Boolean b) { return b ? ulong(1) : ulong(0); } private  BooleanConversions();   }
@Test public void testBooleanToUInt64() { assertEquals(booleanToUInt64(false), ulong(0)); assertEquals(booleanToUInt64(true), ulong(1)); }