assertTrue(true);
}
/** Test for {@link ProteinKmerBitFeatureVectorTest#parseKmersFromSequence(String)}. */
public void testSetBitsCorrectly() {
ProteinKmerBitFeatureVector vector = new ProteinKmerBitFeatureVector(2, 20);
String sequence = "AA";
byte[] testBytes = new byte[(int) Math.ceil(Math.pow(vector.getAlphabetSize(),
vector.getKmerLength()) / ProteinKmerBitFeatureVector.BITS_IN_BYTE)];
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 ProteinKmerBitFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[0] = (byte) 0x2;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
sequence = "AV";
vector = new ProteinKmerBitFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[0] = (byte) 0x0;
testBytes[2] = (byte) 0x8;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
sequence = "VV";
vector = new ProteinKmerBitFeatureVector(2, 20);
vector.parseKmersFromSequence(sequence);
bytes = vector.getFeatureVector();
testBytes[0] = (byte) 0x0;
testBytes[2] = (byte) 0x0;
testBytes[49] = (byte) 0x80;
System.out.println(vector.printByteVector());
System.out.println(printByteVector(testBytes));
assertTrue(equalBytes(bytes, testBytes));
// 32, b = -65