Esempio n. 1
0
def test_correct_template_transcribe_method_of_dna_class(
        value, expected_result):
    dna = MyDNA(value)
    actual_result = dna.transcribe(False)
    assert actual_result == expected_result
Esempio n. 2
0
def test_dna_into_rna_class():
    dna = MyDNA("ATGC")
    rna = MyRNA(dna.transcribe())

    assert rna == MyRNA("AUGC")