diff options
Diffstat (limited to 'src/junit/com')
-rw-r--r-- | src/junit/com/jogamp/common/util/BitstreamData.java | 4 | ||||
-rw-r--r-- | src/junit/com/jogamp/common/util/TestBitstream00.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/junit/com/jogamp/common/util/BitstreamData.java b/src/junit/com/jogamp/common/util/BitstreamData.java index b5c2c62..5a8bd46 100644 --- a/src/junit/com/jogamp/common/util/BitstreamData.java +++ b/src/junit/com/jogamp/common/util/BitstreamData.java @@ -116,8 +116,8 @@ public class BitstreamData { return String.format("[%0"+nibbles+"X, %s]", v, toBinaryString(v, bitCount)); } public static String toUnsignedBinaryString(final int int32) { - final long l = Bitstream.toUint32Long(int32); - final int i = Bitstream.toUint32Int(int32); + final long l = Bitstream.toUInt32Long(int32); + final int i = Bitstream.toUInt32Int(int32); return "(long)"+l+", (int)"+i+", "+toHexBinaryString(l, 32); } } diff --git a/src/junit/com/jogamp/common/util/TestBitstream00.java b/src/junit/com/jogamp/common/util/TestBitstream00.java index 47ed1cf..767117b 100644 --- a/src/junit/com/jogamp/common/util/TestBitstream00.java +++ b/src/junit/com/jogamp/common/util/TestBitstream00.java @@ -101,9 +101,9 @@ public class TestBitstream00 extends JunitTracer { } void testUInt32Conversion(final int int32, final int expUint32Int) { final String int32_hStr = toHexString(int32); - final long l = Bitstream.toUint32Long(int32); + final long l = Bitstream.toUInt32Long(int32); final String l_hStr = toHexString(l); - final int i = Bitstream.toUint32Int(int32); + final int i = Bitstream.toUInt32Int(int32); final String i_hStr = toHexString(i); System.err.printf("int32_t %012d %10s -> (long) %012d %10s, (int) %012d %10s%n", int32, int32_hStr, l, l_hStr, i, i_hStr); Assert.assertEquals(int32_hStr, l_hStr); |