package net.ciklum.icfpc11.domain.greenspoon10; import junit.framework.TestCase import net.ciklum.icfpc11.domain.Game /** * blabla * @author vic */ class KCombinatorTest extends TestCase { void setUp() { Game.push() } void tearDown() { Game.pop() } void testApply() { Function k = new KCombinator() Function kz = k.apply(ConstantFunction.ZERO) Function kzy = kz.apply(Identity.IDENTITY) assertEquals ConstantFunction.ZERO, kzy } }