Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Sep 22, 2023
1 parent 880e407 commit 4ef63fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ public void testGetMutationType() {
@Test
public void testGetMutationTypePairs() {
assertNotNull(hiv.getMutationTypePairs());
// 20230822, 276 mutation type pairs
assertEquals(276, hiv.getMutationTypePairs().size());
// 20230922, 275 mutation type pairs
assertEquals(275, hiv.getMutationTypePairs().size());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public void testGetTypes() {
AAMutation<HIV> mut2 = new AAMutation<HIV>(hiv.getGene("HIV1PR"), 51, "VEF".toCharArray());
List<MutationType<HIV>> eTyoes1 = new ArrayList<>();
eTyoes1.add(hiv.getMutationType("Major"));
eTyoes1.add(hiv.getMutationType("Accessory"));
eTyoes1.add(hiv.getMutationType("Other"));
List<MutationType<HIV>>eTyoes2 = new ArrayList<>();
eTyoes2.add(hiv.getMutationType("Other"));
assertEquals(eTyoes1, mut1.getTypes());
Expand Down

0 comments on commit 4ef63fd

Please sign in to comment.