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