super(name);
AxisUsedRecord record = new AxisUsedRecord(new TestcaseRecordInputStream((short)0x1046, (short)data.length, data)); assertEquals( 1, record.getNumAxis()); assertEquals( 6, record.getRecordSize() ); record.validateSid((short)0x1046);
AxisUsedRecord record = new AxisUsedRecord(); record.setNumAxis( (short)1 ); byte [] recordBytes = record.serialize(); assertEquals(recordBytes.length - 4, data.length); for (int i = 0; i < data.length; i++) assertEquals("At offset " + i, data[i], recordBytes[i+4]);