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

Version Path
trackler-2.2.1.180 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.179 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.178 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.177 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.176 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.175 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.174 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.173 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.172 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.171 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.170 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.169 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.167 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.166 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.165 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.164 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.163 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.162 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.161 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc
trackler-2.2.1.160 tracks/cfml/exercises/rna-transcription/RnaTranscriptionTest.cfc