diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-31 22:06:23 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-31 22:06:23 +0200 |
commit | 63192810a3fe4ec2c81b5b52dd0278d145324bfb (patch) | |
tree | 414c338e86bb4c31696293535a4ce80c3b7f404e /test/jrummikub/model | |
parent | d7aba3d722fbc4dacc94207e97098fd8e27933b4 (diff) | |
download | JRummikub-63192810a3fe4ec2c81b5b52dd0278d145324bfb.tar JRummikub-63192810a3fe4ec2c81b5b52dd0278d145324bfb.zip |
kleine fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@364 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r-- | test/jrummikub/model/StoneSetTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
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<StoneSet, StoneSet> 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()); } /** |