From d393c1f5ddb6e380f0e0bce517f9f7caaf7f810f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 13 Oct 2014 12:06:52 +0200 Subject: update tests --- core/test/ch/asynk/tankontank/Helpers.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/test/ch/asynk/tankontank/Helpers.java b/core/test/ch/asynk/tankontank/Helpers.java index 6cda75f..8ff4343 100644 --- a/core/test/ch/asynk/tankontank/Helpers.java +++ b/core/test/ch/asynk/tankontank/Helpers.java @@ -63,11 +63,13 @@ public class Helpers { return offMap; } - public boolean blockLineOfSightFrom(Tile from) { return false; } - public boolean atLeastOneMove(Pawn pawn) { return true; } + public int costFrom(Pawn pawn, Orientation side, boolean road) { return 1; } + public int defenseFor(Pawn pawn ,List foes) { return 8; } + public boolean road(Orientation side) { return false; } + public boolean atLeastOneMove(Pawn pawn) { return true; } public boolean hasTargetsFor(Pawn pawn) { return false; } - public int costFrom(Pawn pawn, Orientation side, boolean road) { return 1; } + public boolean blockLineOfSightFrom(Tile from) { return false; } } public static class FakeBoard extends Board -- cgit v1.1-2-g2b99