Skip to content

Commit

Permalink
test both solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-mohr committed Nov 29, 2023
1 parent 0adb12e commit 4c84a4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion epytope/test/TestSpacerDesign.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ def test_standart_functions(self):
sbws = EpitopeAssemblyWithSpacer(self.epis, cl_pred, epi_pred, self.alleles, solver="glpk")
sol = sbws.solve()
print(sol)
assert all(i == str(j) for i, j in zip(["GHRMAWDM", "WWQW", "VYEADDVI"], sol))
test1 = all(i == str(j) for i, j in zip(["GHRMAWDM", "WWQW", "VYEADDVI"], sol))
test2 = all(i == str(j) for i, j in zip(["GHRMAWDM", "WWRW", "VYEADDVI"], sol))

assert (test1 or test2)

def test_unsupported_allele_length_combination(self):
"""
Expand Down

0 comments on commit 4c84a4c

Please sign in to comment.