Sha256: dca12a4e63b9d3159106cdba532e5890d5efbae5a20c0544f8be610b46844cf4
Contents?: true
Size: 786 Bytes
Versions: 74
Compression:
Stored size: 786 Bytes
Contents
component extends="testbox.system.BaseSpec" { function beforeAll(){ SUT = createObject( 'RnaTranscription' ); } function run(){ describe( "My RnaTranscription class", function(){ it( 'RNA complement of cytosine is guanine', function(){ expect( SUT.toRna( dna='C' ) ).toBe( 'G' ); }); it( 'RNA complement of guanine is cytosine', function(){ expect( SUT.toRna( dna='G' ) ).toBe( 'C' ); }); it( 'RNA complement of thymine is adenine', function(){ expect( SUT.toRna( dna='T' ) ).toBe( 'A' ); }); it( 'RNA complement of adenine is uracil', function(){ expect( SUT.toRna( dna='A' ) ).toBe( 'U' ); }); it( 'RNA complement', function(){ expect( SUT.toRna( dna='ACGTGGTCTTAA' ) ).toBe( 'UGCACCAGAAUU' ); }); }); } }
Version data entries
74 entries across 74 versions & 1 rubygems