Created this test file
use v6;
use Test;
use-ok 'Mathx::Stat::Probability';
Run with
perl6 -Ilib t/use.t
Produces this error:
not ok 1 - Mathx::Stat::Probability module can be use-d ok
# Failed test 'Mathx::Stat::Probability module can be use-d ok'
# at t/use.t line 5
# ===SORRY!=== Error while compiling /tmp/Mathx-Stat/lib/Mathx/Stat/Probability.pm6 (Mathx::Stat::Probability)
# Undeclared name:
# DistributionPopulation used at line 11
# Undeclared routine:
# new used at line 11 (in Perl 6 please use method call syntax instead)
#