From 63192810a3fe4ec2c81b5b52dd0278d145324bfb Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 31 May 2011 22:06:23 +0200 Subject: kleine fixes git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@364 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/model/StoneSetTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/jrummikub/model') diff --git a/test/jrummikub/model/StoneSetTest.java b/test/jrummikub/model/StoneSetTest.java index d944369..fda4c6c 100644 --- a/test/jrummikub/model/StoneSetTest.java +++ b/test/jrummikub/model/StoneSetTest.java @@ -272,8 +272,8 @@ public class StoneSetTest { StoneSet testSet = createTestSet(); Pair newSets = testSet.splitAt(1); // Sets have right size - assertEquals(1, newSets.getFirst().size()); - assertEquals(2, newSets.getSecond().size()); + assertEquals(1, newSets.getFirst().getSize()); + assertEquals(2, newSets.getSecond().getSize()); // Set have right Stones assertSame(testSet.get(0), newSets.getFirst().get(0)); assertSame(testSet.get(1), newSets.getSecond().get(0)); @@ -297,7 +297,7 @@ public class StoneSetTest { StoneSet secondSet = new StoneSet(new Stone(2, BLUE)); StoneSet joinedSet = testSet.join(secondSet); // Sets have right size - assertEquals(4, joinedSet.size()); + assertEquals(4, joinedSet.getSize()); // Set have right Stones assertSame(testSet.get(0), joinedSet.get(0)); assertSame(testSet.get(1), joinedSet.get(1)); @@ -317,7 +317,7 @@ public class StoneSetTest { i++; } - assertEquals(i, testSet.size()); + assertEquals(i, testSet.getSize()); } /** -- cgit v1.2.3