From 8cbe1471a0a5d035ef9c22ab340f0cfc124655bc Mon Sep 17 00:00:00 2001 From: 3013050 <3013050@stud.hs-mannheim.de> Date: Tue, 26 Mar 2024 00:47:42 +0100 Subject: [PATCH] Tests for Karte Class Added tests for the Karte class. --- tests/KarteTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/KarteTest.java b/tests/KarteTest.java index d0c8f2f..34afabb 100644 --- a/tests/KarteTest.java +++ b/tests/KarteTest.java @@ -9,7 +9,7 @@ class KarteTest { for (int i = 0; i < successTestList.length; i++){ Karte testKarte = new Karte("Herz", successTestList[i]); - assertEquals(successResultList[i], testKarte.getPunkte()); + assertEquals(successResultList[i], testKarte.getWert()); } } } \ No newline at end of file