Sha256: bd03950f2db2da26c3a9126a907d54f87bbb22a84c1c2911f2408aceb7b7c4e8

Contents?: true

Size: 408 Bytes

Versions: 82

Compression:

Stored size: 408 Bytes

Contents

exercise: RNA
version: 1
plan: 10
imports: '&to-rna'
tests: |
  for @($c-data<cases>) {
    if .<expected> {
      is .<dna>.&to-rna, |.<expected description>;
    } else {
      throws-like {.<dna>.&to-rna}, Exception;
    }
  }

unit: module
example: |
  sub to-rna ($dna) is export {
    fail if $dna ~~ /<-[AGCT]>/;
    $dna.trans(<A G C T> => <U C G A>);
  }
stub: |
  sub to-rna ($dna) is export {
  }

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
trackler-2.2.1.53 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.52 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.51 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.50 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.49 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.48 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.47 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.46 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.45 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.44 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.43 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.42 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.41 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.40 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.39 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.38 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.37 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.36 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.35 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.34 tracks/perl6/exercises/rna-transcription/example.yaml