From f84ce396ee9e338d9a5c02e06061ea3eaa861c7c Mon Sep 17 00:00:00 2001
From: Jakhes <dean.schmitz@schmitzbauer.de>
Date: Mon, 7 Nov 2022 23:49:32 +0100
Subject: [PATCH] Finishing nmf tests

---
 src/methods/nmf/nmf_test.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/methods/nmf/nmf_test.pl b/src/methods/nmf/nmf_test.pl
index 25a2c39..7214151 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: '),
-- 
GitLab