From f0f774172eac21c85976126822e1bd0a399ecd98 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 30 Nov 2024 01:04:59 +0330 Subject: [PATCH] fix : tests updated --- tests/test_operations.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test_operations.py b/tests/test_operations.py index 3f67952..a83dd75 100644 --- a/tests/test_operations.py +++ b/tests/test_operations.py @@ -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