assertTrue(true);
}
/** Test for {@link ProteinKmerCountFeatureVectorTest#parseKmersFromSequence(String)}. */
public void testSetBitsCorrectly() {
ProteinKmerCountFeatureVector vector = new ProteinKmerCountFeatureVector(2, 20);
String sequence = "AA";
byte[] testBytes = new byte[(int) Math.pow(vector.getAlphabetSize(),
vector.getKmerLength())];
initializeBytes(testBytes);
testBytes[0] = (byte) 0x1;
vector.parseKmersFromSequence(sequence);
byte[] bytes = vector.getFeatureVector();
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
sequence = "AR";
vector = new ProteinKmerCountFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[0] = (byte) 0x0;
testBytes[1] = (byte) 0x1;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
sequence = "AV";
vector = new ProteinKmerCountFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[1] = (byte) 0x0;
testBytes[19] = (byte) 0x1;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
sequence = "VV";
vector = new ProteinKmerCountFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[19] = (byte) 0x0;
testBytes[399] = (byte) 0x1;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
}