import org.junit.Test;
public class TestActivationTANH extends TestCase {
@Test
public void testTANH() throws Throwable {
ActivationTANH activation = new ActivationTANH();
Assert.assertTrue(activation.hasDerivative());
ActivationTANH clone = (ActivationTANH) activation.clone();
Assert.assertNotNull(clone);
double[] input = { 0.0 };
activation.activationFunction(input,0,input.length);