| | |
| | | |
| | | |
| | | // Next, test with a nonstandard Boolean type. |
| | | elementArray[0] = (byte) 0x50; |
| | | elementArray[0] = 0x50; |
| | | assertEquals(getReader(elementArray, 0).readBoolean(), (b[0] != 0x00)); |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | // Next, test with a nonstandard Boolean type. |
| | | elementArray[0] = (byte) 0x50; |
| | | elementArray[0] = 0x50; |
| | | assertEquals(getReader(elementArray, 0).readBoolean(), (b[0] != 0x00)); |
| | | } |
| | | |
| | |
| | | |
| | | /** |
| | | * Tests the <CODE>decodeAsBoolean</CODE> method that takes a byte array |
| | | * argument with an array that takes too many bytes to expressthe length. |
| | | * argument with an array that takes too many bytes to express the length. |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |