Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Compilation test for Mathx::Stat

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.