From 6a5b7f22451302e487fb44c3f1d39703991e5ca5 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 10 Dec 2021 18:06:52 +0100 Subject: [PATCH] renamed Method getTextView to toString in SiedlerBoard --- test/ch/zhaw/catan/SiedlerBoardTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ch/zhaw/catan/SiedlerBoardTest.java b/test/ch/zhaw/catan/SiedlerBoardTest.java index ccaa83d..0af1f04 100644 --- a/test/ch/zhaw/catan/SiedlerBoardTest.java +++ b/test/ch/zhaw/catan/SiedlerBoardTest.java @@ -38,7 +38,7 @@ public class SiedlerBoardTest { @Test public void testLongestRoadSimple() { - System.out.println(board.getTextView()); + System.out.println(board.toString()); assertEquals(Config.Faction.BLUE, board.getLongestRoadFaction(factionList)); assertEquals(6, board.getLongestRoadLength()); @@ -47,7 +47,7 @@ public class SiedlerBoardTest { @Test public void testLongestRoadWithInterrupt() { board.setCorner(new Point(4, 10), new Settlement(Config.Faction.RED, new Point(4, 10))); - System.out.println(board.getTextView()); + System.out.println(board.toString()); assertEquals(Config.Faction.BLUE, board.getLongestRoadFaction(factionList)); assertEquals(5, board.getLongestRoadLength());