mirror of https://github.com/apache/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
This commit is contained in:
parent
257bdd7bbf
commit
f1f08a54de
|
@ -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,
|
private boolean ba_equivalent(byte [] received, byte [] expected,
|
||||||
int offset, int size)
|
int offset, int size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue