@Test public void testSubtractUByteInvalid() throws Exception { try { UByte.MIN_UBYTE.subtract(ubyte(1)); fail(); } catch (NumberFormatException e) { } }
@Test public void testSubtractIntInvalid() throws Exception { try { UByte.MIN_UBYTE.subtract(1); fail(); } catch (NumberFormatException e) { } try { UByte.MAX_UBYTE.subtract(-1); fail(); } catch (NumberFormatException e) { } }