1 package org.openflow.util;
3 import junit.framework.TestCase;
5 public class U8Test extends TestCase {
7 * Tests that we correctly translate unsigned values in and out of a byte
10 public void test() throws Exception {
12 TestCase.assertEquals(-1, U8.t(val));
13 TestCase.assertEquals(val, U8.f((byte)-1));