Forgot to commit this before

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2002-03-03 09:31:58 +00:00
parent 257bdd7bbf
commit f1f08a54de
1 changed files with 6 additions and 0 deletions

View File

@ -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)
{