Skip to content

Commit

Permalink
Release algV9.6 and fix unit teests
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Mar 10, 2024
1 parent 811ebfe commit 7103598
Show file tree
Hide file tree
Showing 4 changed files with 5,978 additions and 5,985 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ public void testGetDrugSynonymMapWithException() {
@Test
public void testGetDrugResistAlgorithms() {
assertNotNull(hiv.getDrugResistAlgorithms());
// 20240224, 45 algorithms
assertEquals(45, hiv.getDrugResistAlgorithms().size());
// 20240309, 46 algorithms
assertEquals(46, hiv.getDrugResistAlgorithms().size());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public void testExtractMutationGenesInvaid() {

@Test
public void testGetLatestDrugResistAlgorithm() {
assertEquals("9.6a1", hiv.getLatestDrugResistAlgorithm("HIVDB").getVersion());
assertEquals("33", hiv.getLatestDrugResistAlgorithm("ANRS").getVersion());
assertEquals("9.6", hiv.getLatestDrugResistAlgorithm("HIVDB").getVersion());
assertEquals("34", hiv.getLatestDrugResistAlgorithm("ANRS").getVersion());
assertEquals("10.0", hiv.getLatestDrugResistAlgorithm("Rega").getVersion());
}

@Test
public void testGetDefaultDrugResistAlgorithm() {
assertEquals("9.6a1", hiv.getDefaultDrugResistAlgorithm().getVersion());
assertEquals("9.6", hiv.getDefaultDrugResistAlgorithm().getVersion());
}
}
Loading

0 comments on commit 7103598

Please sign in to comment.