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.33 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.32 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.31 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.30 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.29 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.28 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.27 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.26 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.25 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.24 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.23 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.22 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.21 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.20 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.19 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.18 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.17 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.16 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.15 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.14 tracks/perl6/exercises/rna-transcription/example.yaml