summaryrefslogtreecommitdiffstats
path: root/test/src/java/com/healthmarketscience
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-03-09 21:33:04 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-03-09 21:33:04 +0000
commitf37b7c544921f6554130fa91ee245658311df68e (patch)
tree0f11c5ec606e4ac71a02e3f15742da71efe6918b /test/src/java/com/healthmarketscience
parentcefe53cf3bf0381eeb02ec7a9e04d639fbba2d51 (diff)
downloadjackcess-f37b7c544921f6554130fa91ee245658311df68e.tar.gz
jackcess-f37b7c544921f6554130fa91ee245658311df68e.zip
formalize code for reading unsigned bytes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@255 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test/src/java/com/healthmarketscience')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/IndexTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java
index 51b5da4..917fc81 100644
--- a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java
@@ -60,10 +60,10 @@ public class IndexTest extends TestCase {
byte b4 = (byte)0x80;
byte b5 = (byte)0xFF;
- assertTrue(ByteUtil.toUnsignedInt(b1) < ByteUtil.toUnsignedInt(b2));
- assertTrue(ByteUtil.toUnsignedInt(b2) < ByteUtil.toUnsignedInt(b3));
- assertTrue(ByteUtil.toUnsignedInt(b3) < ByteUtil.toUnsignedInt(b4));
- assertTrue(ByteUtil.toUnsignedInt(b4) < ByteUtil.toUnsignedInt(b5));
+ assertTrue(ByteUtil.asUnsignedByte(b1) < ByteUtil.asUnsignedByte(b2));
+ assertTrue(ByteUtil.asUnsignedByte(b2) < ByteUtil.asUnsignedByte(b3));
+ assertTrue(ByteUtil.asUnsignedByte(b3) < ByteUtil.asUnsignedByte(b4));
+ assertTrue(ByteUtil.asUnsignedByte(b4) < ByteUtil.asUnsignedByte(b5));
}
public void testByteCodeComparator() {