public class TestActivationBiPolar extends TestCase {
@Test
public void testBiPolar() throws Throwable
{
ActivationBiPolar activation = new ActivationBiPolar();
Assert.assertTrue(activation.hasDerivative());
ActivationBiPolar clone = (ActivationBiPolar)activation.clone();
Assert.assertNotNull(clone);
double[] input = { 0.5, -0.5 };
activation.activationFunction(input,0,input.length);