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.13 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.12 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.11 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.10 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.9 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.8 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.7 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.6 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.5 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.4 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.3 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.2 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.1 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.0 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.6 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.5 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.4 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.3 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.2 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.0.1 tracks/perl6/exercises/rna-transcription/example.yaml