diff --git a/src/methods/nmf/nmf_test.pl b/src/methods/nmf/nmf_test.pl index 25a2c39e80c383120014e200278c3535a3a6cdeb..7214151082f8be9eb83513b51708d6b996d8719d 100644 --- a/src/methods/nmf/nmf_test.pl +++ b/src/methods/nmf/nmf_test.pl @@ -15,7 +15,7 @@ %% Failure Tests -test(nmf_Wrong_UpdateRule_Input, [error(domain_error('expectation' , wrongInput), _)]) :- +test(nmf_Wrong_UpdateRule_Input, [error(domain_error('The given UpdateRule is unkown!' , wrongInput), _)]) :- nmf(wrongInput, 10000, 0.00001, [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, 3, _, _, _, _). test(nmf_Negative_MaxIterations, fail) :- @@ -38,7 +38,7 @@ test(nmf_Multdist_High_Rank) :- print(H). test(nmf_Normal_Use_Multdist) :- - nmf(multdist, 10000, 0.00001, [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, 3, W, _, H, _), + nmf(multdist, 10000, 0.00001, [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, 2, W, _, H, _), print('\nW: '), print(W), print('\nH: '),