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
def test_dna_into_rna_class(): dna = MyDNA("ATGC") rna = MyRNA(dna.transcribe()) assert rna == MyRNA("AUGC")