From 3b0f67c287d381360c513ee0f02d8498dcfe6775 Mon Sep 17 00:00:00 2001 From: Sanjay C Nagi Date: Fri, 18 Aug 2023 20:43:19 +0100 Subject: [PATCH] add tests --- tests/test_agamprimer.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test_agamprimer.py diff --git a/tests/test_agamprimer.py b/tests/test_agamprimer.py new file mode 100644 index 0000000..4b6d451 --- /dev/null +++ b/tests/test_agamprimer.py @@ -0,0 +1,16 @@ +import numpy as np +import pandas as pd +import pytest + +import AgamPrimer + +ace1_seq = "GCGGCGGCTTCTACTCCGG" +kdr_seq = "AGTGATAGGAAATTTAGTCGT" + + +@pytest.mark.parametrize( + "sequence", + [ace1_seq, kdr_seq], +) +def test_check_my_oligo(sequence): + AgamPrimer.check_my_oligo(sequence=sequence, sample_sets="AG1000G-GH")