Skip to content
Snippets Groups Projects
Commit 943fa702 authored by Jakhes's avatar Jakhes
Browse files

Udating all_tests

parent 89d3a7ce
Branches
No related tags found
No related merge requests found
......@@ -18,14 +18,6 @@ reset_Model :-
%% Failure Tests
%% only raises an exeption if the model hasnt been initilized once, so only after fully reseting the tests.
test(kde_EvaluateWithQuery_Befor_Init, [error(_, system_error('no KDE model initialized'))]) :-
evaluateWithQuery([5.1,3.5,1.4,4.9,3.0,1.4,4.7,3.2,1.3,4.6,3.1,1.5], 3, _).
%% only raises an exeption if the model hasnt been initilized once, so only after fully reseting the tests.
test(kde_EvaluateNoQuery_Befor_Init, [error(_, system_error('no KDE model initialized'))]) :-
evaluateNoQuery(_).
test(kde_Init_Negative_Bandwidth, fail) :-
initAndBuildModel(-1.0, 0.05, 0.0, gaussian, kd_tree, dual_tree, 0, 0.95, 100, 3.0, 0.4,
[5.1,3.5,1.4,4.9,3.0,1.4,4.7,3.2,1.3,4.6,3.1,1.5], 3).
......
......@@ -14,7 +14,7 @@
:- use_module('src/methods/approx_kfn/approx_kfn_test.pl').
%%:- use_module('src/methods/bayesian_linear_regression/bayesian_linear_regression_test.pl').
:- use_module('src/methods/bayesian_linear_regression/bayesian_linear_regression_test.pl').
:- use_module('src/methods/dbscan/dbscan_test.pl').
......@@ -30,11 +30,11 @@
:- use_module('src/methods/kernel_pca/kernel_pca_test.pl').
%%:- use_module('src/methods/kfn/kfn_test.pl').
:- use_module('src/methods/kfn/kfn_test.pl').
:- use_module('src/methods/kmeans/kmeans_test.pl').
%%:- use_module('src/methods/knn/knn_test.pl').
:- use_module('src/methods/knn/knn_test.pl').
%%:- use_module('src/methods/lars/lars_test.pl').
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment