maspack.util
Class ScanTest

java.lang.Object
  extended by maspack.util.ScanTest

public class ScanTest
extends java.lang.Object

Provides a method to test the scan/write methods of a Scannable object


Constructor Summary
ScanTest()
           
 
Method Summary
static void testScanAndWrite(Scannable s, java.lang.Object ref, java.lang.String fmtStr)
          Tests the scan and write methods of an object by writing the object, scanning it, writing it again, and making sure that the second write output equals the first.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScanTest

public ScanTest()
Method Detail

testScanAndWrite

public static void testScanAndWrite(Scannable s,
                                    java.lang.Object ref,
                                    java.lang.String fmtStr)
Tests the scan and write methods of an object by writing the object, scanning it, writing it again, and making sure that the second write output equals the first.