assertTrue(Comparison.isNucleotideSequence("a A-g.GcCtTuU", true));
assertFalse(Comparison.isNucleotideSequence("a A-g.GcCtTuU", false));
}
+
+ @Test(groups = { "Functional" })
+ public void compareCharsTest()
+ {
+ assertTrue(Comparison.compareChars('a', 'a', false));
+ assertTrue(Comparison.compareChars('a', 'a', true));
+ assertTrue(Comparison.compareChars('A', 'a', false));
+ assertTrue(Comparison.compareChars('a', 'A', false));
+
+ assertFalse(Comparison.compareChars('a', 'A', true));
+ assertFalse(Comparison.compareChars('A', 'a', true));
+ }
}