package org.openlcb; import junit.framework.Assert; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * @author Bob Jacobsen Copyright 2009 * @version $Revision: 155 $ */ public class NodeTest extends TestCase { public void testCtor() { new Node(new NodeID(new byte[]{0,1,2,3,4,5})); } // from here down is testing infrastructure public NodeTest(String s) { super(s); } // Main entry point static public void main(String[] args) { String[] testCaseName = {NodeTest.class.getName()}; junit.swingui.TestRunner.main(testCaseName); } // test suite from all defined tests public static Test suite() { TestSuite suite = new TestSuite(NodeTest.class); return suite; } }