Sha256: ded683c9b92a14de0c03267688f66e8c8f758dc4fae62463739ebd95735eed78

Contents?: true

Size: 399 Bytes

Versions: 45

Compression:

Stored size: 399 Bytes

Contents

package strand

import "testing"

func TestRNATranscription(t *testing.T) {
	for _, test := range rnaTests {
		if actual := ToRNA(test.input); actual != test.expected {
			t.Errorf("ToRNA(%s): %s, expected %s",
				test.input, actual, test.expected)
		}
	}
}

func BenchmarkRNATranscription(b *testing.B) {
	for i := 0; i < b.N; i++ {
		for _, test := range rnaTests {
			ToRNA(test.input)
		}
	}
}

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
trackler-2.2.1.101 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.100 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.99 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.98 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.97 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.96 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.95 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.94 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.93 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.92 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.91 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.90 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.89 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.88 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.87 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.86 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.85 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.84 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.83 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.2.1.82 tracks/go/exercises/rna-transcription/rna_transcription_test.go