From 7edb66d4ff069a40471258a66ef56dac36598665 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 3 May 2011 17:13:12 +0200 Subject: Removed deprecated Stone constructor git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@79 72836036-5685-4462-b002-a69064685172 --- test/jrummikub/model/StoneSetTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/jrummikub/model/StoneSetTest.java b/test/jrummikub/model/StoneSetTest.java index 1b4e062..196090e 100644 --- a/test/jrummikub/model/StoneSetTest.java +++ b/test/jrummikub/model/StoneSetTest.java @@ -123,9 +123,9 @@ public class StoneSetTest { private StoneSet createTestSet() { List stones = new ArrayList(); - stones.add(new Stone(1, BLUE, false)); - stones.add(new Stone(1, RED, false)); - stones.add(new Stone(1, BLACK, false)); + stones.add(new Stone(1, BLUE)); + stones.add(new Stone(1, RED)); + stones.add(new Stone(1, BLACK)); StoneSet testSet = new StoneSet(stones); return testSet; } @@ -134,7 +134,7 @@ public class StoneSetTest { @Test public void testJoin() { StoneSet testSet = createTestSet(); - StoneSet secondSet = new StoneSet(new Stone(2, BLUE, false)); + StoneSet secondSet = new StoneSet(new Stone(2, BLUE)); StoneSet joinedSet = testSet.join(secondSet); // Sets have right size assertEquals(4, joinedSet.size()); -- cgit v1.2.3