String b = ">2 asdfzzzzasdfqiwjkre";
Text aText = new Text(a);
Text bText = new Text(b);
LocalAlignment localHadoop = LocalAlignment.getLocalAlignment(aText, bText, 10, -5, -5, -2);
SerialLocalAlignment localSerial = SerialLocalAlignment.align(a, b, 10, -5, -5, -2);
assertEquals(localSerial.getScore(), localHadoop.getScore());
assertEquals(localSerial.getDistance(), localHadoop.getDistance());
assertNotSame(0, localHadoop.getScore());
localHadoop = LocalAlignment.getLocalAlignment(bText, aText, 10, -5, -5, -2);
assertEquals(localSerial.getScore(), localHadoop.getScore());
assertEquals(localSerial.getDistance(), localHadoop.getDistance());
assertNotSame(0, localHadoop.getScore());
System.out.println(localHadoop.getScore() + " " + localHadoop.getDistance());
}