Commit 8c263871 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

sensitivity of chembl test adjusted (case insensitivity)

parent 41cb552b
......@@ -72,8 +72,11 @@ public class ChEMBLParserTest extends AnnotationTestFunctions {
assertEquals("CABOZANTINIB", drug.getName());
assertNull(drug.getDescription());
assertEquals(2, drug.getTargets().size());
logger.debug(drug.getSynonyms());
assertTrue(drug.getSynonyms().contains("Cabozantinib"));
List<String> lowerCaseSynonyms = new ArrayList<>();
for (String s: drug.getSynonyms()) {
lowerCaseSynonyms.add(s.toLowerCase());
}
assertTrue(lowerCaseSynonyms.contains("cabozantinib"));
} catch (Exception e) {
e.printStackTrace();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment