diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-03-03 09:31:58 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-03-03 09:31:58 +0000 |
commit | f1f08a54dee2ee8b4af82e3c65942a0547eb5f91 (patch) | |
tree | fa1b4a1afbd16056e5c8c790d76bf32e1c8cf5e9 /src | |
parent | 257bdd7bbfc40e30c3a4443f22e9eb80d726c3b5 (diff) | |
download | poi-f1f08a54dee2ee8b4af82e3c65942a0547eb5f91.tar.gz poi-f1f08a54dee2ee8b4af82e3c65942a0547eb5f91.zip |
Forgot to commit this before
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/testcases/org/apache/poi/util/TestLittleEndian.java | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |