1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/test/java/ru/alphatech/icfpc/cards/tests/TestI.java Sun Jun 19 12:53:34 2011 +0400
1.3 @@ -0,0 +1,21 @@
1.4 +package ru.alphatech.icfpc.cards.tests;
1.5 +
1.6 +import org.junit.Test;
1.7 +
1.8 +import ru.alphatech.icfpc.cards.I;
1.9 +import ru.alphatech.icfpc.game.IValue;
1.10 +import ru.alphatech.icfpc.game.Player;
1.11 +import ru.alphatech.icfpc.game.Value;
1.12 +import junit.framework.Assert;
1.13 +
1.14 +public class TestI extends Assert
1.15 +{
1.16 + @Test
1.17 + public void testValue()
1.18 + {
1.19 + Player opponent = new Player();
1.20 + Player proponent = new Player();
1.21 + IValue x = new Value(10);
1.22 + assertEquals(x, new I().returnValue(x, proponent, opponent));
1.23 + }
1.24 +}