src/test/java/ru/alphatech/icfpc/cards/tests/TestPut.java
author Azamat S. Kalimoulline <turtle@bazon.ru>
Sun, 19 Jun 2011 19:13:07 +0400
changeset 102 cc814352ab43
parent 97 89f13f209302
permissions -rw-r--r--
Call Count.
     1 package ru.alphatech.icfpc.cards.tests;
     2 
     3 import junit.framework.Assert;
     4 
     5 import org.junit.Test;
     6 
     7 import ru.alphatech.icfpc.cards.I;
     8 import ru.alphatech.icfpc.cards.Put;
     9 import ru.alphatech.icfpc.game.IValue;
    10 import ru.alphatech.icfpc.game.Player;
    11 import ru.alphatech.icfpc.game.Value;
    12 
    13 public class TestPut extends Assert
    14 {
    15 	@Test
    16 	public final void testReturnValue()
    17 	{
    18 		Player opponent = new Player();
    19 		Player proponent = new Player();
    20 
    21 		IValue i = new Value(0);
    22 
    23 		assertEquals(new I().getClass(), new Put().returnValue(i, proponent, opponent).getClass());
    24 	}
    25 }