The Value of 0xFF Number and Its Uses With & Operation in Java Article by Abdallah Sawan
This commit is contained in:
parent
506953bb56
commit
06419d4deb
|
@ -16,7 +16,7 @@ public class Number0xffUnitTest {
|
|||
public void test0xFFAssignedToByte() {
|
||||
byte y = (byte) 0xff;
|
||||
int expectedValue = -1;
|
||||
assertEquals(x, expectedValue);
|
||||
assertEquals(y, expectedValue);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue