Sha256: db2b55caad2ad825cd8bd1af3c17b343c17581e8fbbf7c5ae4cc128bbe6fa135

Contents?: true

Size: 467 Bytes

Versions: 77

Compression:

Stored size: 467 Bytes

Contents

package strand

import "testing"

func TestRNATranscription(t *testing.T) {
	for _, test := range rnaTests {
		if actual := ToRNA(test.input); actual != test.expected {
			t.Fatalf("FAIL: %s - ToRNA(%q): %q, expected %q",
				test.description, test.input, actual, test.expected)
		}
		t.Logf("PASS: %s", test.description)
	}
}

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

Version data entries

77 entries across 77 versions & 1 rubygems

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