-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add : `DEFAULT_PRIMER_NAME` parameter added. * add : `name` property added to `Primer` class. * tests : tests added for properties. * log : changelog updated. * update : changelog updated.
- Loading branch information
1 parent
64de7fe
commit adce824
Showing
4 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from opr import Primer | ||
|
||
TEST_CASE_NAME = "Property tests" | ||
|
||
|
||
def test_sequence(): | ||
oprimer = Primer("ATCGATCGATCGATCGAT") | ||
assert oprimer.sequence== "ATCGATCGATCGATCGAT" | ||
|
||
|
||
def test_name(): | ||
oprimer = Primer("ATCGATCGATCGATCGAT", "primer1") | ||
assert oprimer.name == "primer1" |