X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=third-party%2Fopenflow-codec%2Fsrc%2Ftest%2Fjava%2Forg%2Fopenflow%2Fcodec%2Futil%2FU64Test.java;fp=third-party%2Fopenflow-codec%2Fsrc%2Ftest%2Fjava%2Forg%2Fopenflow%2Fcodec%2Futil%2FU64Test.java;h=0000000000000000000000000000000000000000;hb=64fe0fbca1a6c2b77ad25f568d73a7eb64236d16;hp=d220733c48ab39db512d1777f8605eb44a643fd3;hpb=8b9a3ff2bbc83941254b46b818cbbae5cc1a3a5b;p=openflowjava.git diff --git a/third-party/openflow-codec/src/test/java/org/openflow/codec/util/U64Test.java b/third-party/openflow-codec/src/test/java/org/openflow/codec/util/U64Test.java deleted file mode 100644 index d220733c..00000000 --- a/third-party/openflow-codec/src/test/java/org/openflow/codec/util/U64Test.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.openflow.codec.util; - -import java.math.BigInteger; - -import org.openflow.codec.util.U64; - -import junit.framework.TestCase; - -public class U64Test extends TestCase { - /** - * Tests that we correctly translate unsigned values in and out of a long - * - * @throws Exception - */ - public void test() throws Exception { - BigInteger val = new BigInteger("ffffffffffffffff", 16); - TestCase.assertEquals(-1, U64.t(val)); - TestCase.assertEquals(val, U64.f(-1)); - } -}