summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util/TestBitstream00.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-21 07:57:29 +0100
committerSven Gothel <[email protected]>2014-02-21 07:57:29 +0100
commitbd91f0fb4c67c7effc4715600e53f38bf1b79e12 (patch)
treeb14982ae5c854a8b2a6ae034572be6a6c05ae93f /src/junit/com/jogamp/common/util/TestBitstream00.java
parentc70c730b22c847668cf475dc6f841b85297ac3ab (diff)
Bitstream: Refine c70c730b22c847668cf475dc6f841b85297ac3ab: 'toUint32Long' -> 'toUInt32Long', add 'uint32LongtoInt'
Diffstat (limited to 'src/junit/com/jogamp/common/util/TestBitstream00.java')
-rw-r--r--src/junit/com/jogamp/common/util/TestBitstream00.java4
1 files changed, 2 insertions, 2 deletions
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);