Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Nov 26, 2018
1 parent f5787de commit 9889c64
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ public void testGetUnusualMutations() {
public void testGetHighestMutPrevalences() {
MutationSet muts = new MutationSet("RT:67N,RT:69KS,PR:82VIA,RT68W");
Map<Mutation, Double> expected = new HashMap<>();
expected.put(new Mutation(Gene.RT, 67, "N"), 10.373);
expected.put(new Mutation(Gene.RT, 69, "KS"), 0.813);
expected.put(new Mutation(Gene.PR, 82, "VIA"), 5.33);
expected.put(new Mutation(Gene.RT, 67, "N"), 9.0147444549135450);
expected.put(new Mutation(Gene.RT, 69, "KS"), 0.8036226800178583);
expected.put(new Mutation(Gene.PR, 82, "VIA"), 4.7026691174567015);
expected.put(new Mutation(Gene.RT, 68, "W"), 0.0);
assertEquals(expected, muts.getHighestMutPrevalences());
}
Expand Down

0 comments on commit 9889c64

Please sign in to comment.