Searched refs:signByte (Results 1 – 1 of 1) sorted by relevance
26 private static int signByte(byte x) { in signByte() method in TestSignum122 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte()123 expectEquals(-1, signByte((byte)-64)); in testSignByte()124 expectEquals(-1, signByte((byte)-1)); in testSignByte()125 expectEquals(0, signByte((byte)0)); in testSignByte()126 expectEquals(1, signByte((byte)1)); in testSignByte()127 expectEquals(1, signByte((byte)64)); in testSignByte()128 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()