src/test/java/ru/alphatech/icfpc/cards/tests/TestPut.java
changeset 97 89f13f209302
equal deleted inserted replaced
73:50ef27b8b7dc 97:89f13f209302
       
     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 }