MyMemorySequencesReader( final byte[][] data, final String[] labels, final long[] counts, final int min, final int max, final SequenceType type) { super(data, labels, counts, min, max, type); final ArrayPrereadNames arr = new ArrayPrereadNames(new String[] {"someFile"}); assertEquals("someFile", arr.name(0)); final MultiByteArray mba = new MultiByteArray(10L); // System.err.println(mba.get(1)); assertEquals(0, MultiByteArrayTest.get1(mba, 1)); }
public void testPrereadNames() { final ArrayPrereadNames pn = new ArrayPrereadNames(new String[] {"blah", "fah", "rah"}); assertEquals("fah", pn.name(1)); }