Sha256: 8049c87e620a131a801526ff425ee9fef72f6faeae612a080cfe8e1864541a78

Contents?: true

Size: 411 Bytes

Versions: 20

Compression:

Stored size: 411 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

20 entries across 20 versions & 1 rubygems

Version Path
trackler-2.2.1.73 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.72 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.71 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.70 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.69 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.68 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.67 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.66 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.65 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.64 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.63 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.62 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.61 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.60 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.59 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.58 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.57 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.56 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.55 tracks/perl6/exercises/rna-transcription/example.yaml
trackler-2.2.1.54 tracks/perl6/exercises/rna-transcription/example.yaml