Navigation Menu

Skip to content

Commit

Permalink
fix up tests based on types
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Sep 14, 2015
1 parent 61b122b commit 8910314
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/Types.t
Expand Up @@ -5,10 +5,10 @@ use lib './lib';
use Test;

# TODO: these should probably become enums
subset SeqAlphabet where .lc ~~ any <dna rna protein>;
subset SeqStrandInt where any <-1 0 1>;
subset SeqStrandChar where any <- . +>;
subset SeqStrand where { $_ ~~ SeqStrandChar || $_ ~~ SeqStrandInt};
subset SeqAlphabet of Str where .lc ~~ any <dna rna protein>;
subset SeqStrandInt of Int where any < -1 0 1 >;
subset SeqStrandChar of Str where any < - . + >;
subset SeqStrand where any(SeqStrandChar, SeqStrandInt);

for -2..2 -> $a {
if -1 <= $a <= 1 {
Expand Down

0 comments on commit 8910314

Please sign in to comment.