Sha256: 160dfc84512741a8d67a841f7cde437e9fa51300334cc7b57e5224c3ee616485

Contents?: true

Size: 548 Bytes

Versions: 119

Compression:

Stored size: 548 Bytes

Contents

package strand

import "testing"

const targetTestVersion = 3

func TestRNATranscription(t *testing.T) {
	if testVersion != targetTestVersion {
		t.Fatalf("Found testVersion = %v, want %v", testVersion, targetTestVersion)
	}
	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

119 entries across 119 versions & 1 rubygems

Version Path
trackler-2.0.8.18 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.17 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.16 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.15 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.14 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.13 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.12 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.11 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.10 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.9 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.8 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.7 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.6 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.5 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.4 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.3 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.2 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.8.1 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.7.0 tracks/go/exercises/rna-transcription/rna_transcription_test.go
trackler-2.0.6.44 tracks/go/exercises/rna-transcription/rna_transcription_test.go