### ----------------------------------------------------
### -- Lingua::EN::Numbers
### -- Licenses: Artistic-2.0
### -- Authors: Steve Schulze (thundergnat)
### -- File: t/07-pretty-rat.t
### ----------------------------------------------------
use v6;
use Test;
use Lingua::EN::Numbers;

plan *;

for 1..25 {
    is(pretty-rat(5/$_), ((5/$_).denominator == 1 ?? (5/$_).numerator !! (5/$_).nude.join('/')), "Pretty $_ ok")
}
done-testing();


