Skip to content

Commit

Permalink
fix : tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Nov 29, 2024
1 parent 5056e66 commit f0f7741
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ def test_multiply():
oprimer_1 = Primer("ATCG")
oprimer_concat = oprimer_1 * 4
assert oprimer_concat.sequence == "ATCGATCGATCGATCG"

def test_equality1():
oprimer_1 = Primer("ATCG")
oprimer_2 = Primer("ATCG")
assert oprimer_1 == oprimer_2

def test_equality2():
oprimer_1 = Primer("ATCG")
oprimer_2 = Primer("ATCGC")
assert oprimer_1 != oprimer_2

0 comments on commit f0f7741

Please sign in to comment.