From: Glen Stampoultzis Date: Sun, 3 Mar 2002 09:31:58 +0000 (+0000) Subject: Forgot to commit this before X-Git-Tag: prelogging~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f1f08a54dee2ee8b4af82e3c65942a0547eb5f91;p=poi.git Forgot to commit this before git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352136 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/util/TestLittleEndian.java b/src/testcases/org/apache/poi/util/TestLittleEndian.java index a6e576a20a..1f2780d897 100644 --- a/src/testcases/org/apache/poi/util/TestLittleEndian.java +++ b/src/testcases/org/apache/poi/util/TestLittleEndian.java @@ -414,6 +414,12 @@ public class TestLittleEndian } } + public void testUnsignedByteToInt() + throws Exception + { + assertEquals(255, LittleEndian.ubyteToInt((byte)255)); + } + private boolean ba_equivalent(byte [] received, byte [] expected, int offset, int size) {