use v6.d;

use lib '.';
use lib './lib';

use DSL::English::QuantileRegressionWorkflows::Grammar;

use Test;

plan 4;

# Shortcut
my $pQRMONCOMMAND = DSL::English::QuantileRegressionWorkflows::Grammar;

#-----------------------------------------------------------
# Quantile Regression fit
#-----------------------------------------------------------

ok $pQRMONCOMMAND.parse('compute quantile regression fit'),
        'compute quantile regression fit';

ok $pQRMONCOMMAND.parse('compute a quantile regression fit'),
        'compute a quantile regression fit';

ok $pQRMONCOMMAND.parse('compute quantile regression fit with 0.1 0.2 0.5 0.7 0.9'),
        'compute quantile regression fit with 0.1 0.2 0.5 0.7 0.9';

ok $pQRMONCOMMAND.parse('compute QuantileRegression using probabilities from 0.1 to 0.9 step 0.1'),
        'compute QuantileRegression using probabilities from 0.1 to 0.9 step 0.1';

done-testing;
