Example #1
0
def test_complement__multiple_nts_mixed_case():
    assert_equal(complement("aGtCn"), "tCaGn")
Example #2
0
def test_complement__multiple_nts_upper():
    assert_equal(complement(_REF_SRC), _REF_DST)
Example #3
0
def test_complement__multiple_nts_lower():
    assert_equal(complement(_REF_SRC.lower()), _REF_DST.lower())
Example #4
0
def test_complement__multiple_nts_mixed_case():
    assert complement("aGtCn") == "tCaGn"
Example #5
0
 def test_function(source, destination):
     assert_equal(complement(source), destination)
Example #6
0
def test_complement__multiple_nts_upper():
    assert complement(_REF_SRC) == _REF_DST
Example #7
0
def test_complement__multiple_nts_lower():
    assert complement(_REF_SRC.lower()) == _REF_DST.lower()
Example #8
0
def test_complement__single_nt(src, dst):
    assert complement(src) == dst
    assert complement(src.lower()) == dst.lower()
Example #9
0
def test_complement__multiple_nts_mixed_case():
    assert_equal(complement("aGtCn"), "tCaGn")
Example #10
0
def test_complement__multiple_nts_lower():
    assert_equal(complement(_REF_SRC.lower()), _REF_DST.lower())
Example #11
0
def test_complement__multiple_nts_upper():
    assert_equal(complement(_REF_SRC), _REF_DST)
Example #12
0
 def test_function(source, destination):
     assert_equal(complement(source), destination)