net.sf.gridarta.model.mapgrid
public class MapGridTest extends Object
MapGrid
.Constructor and Description |
---|
MapGridTest() |
Modifier and Type | Method and Description |
---|---|
private static void |
checkSelectionBorder(MapGrid mapGrid,
String expectedBorder)
Checks that the map border selection flags of a
MapGrid instance
is as expected. |
void |
testSelectionBorderUpdates()
Test case for selection border updates.
|
public MapGridTest()
public void testSelectionBorderUpdates()
private static void checkSelectionBorder(MapGrid mapGrid, String expectedBorder)
MapGrid
instance
is as expected. The expected border selection is represented as
String
. Each square is represented as one hex digit
character; 1=north, 2=east, 4=south, 8=east border is set.mapGrid
- the map gridexpectedBorder
- the expected border selectionFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.