public void TanH2()
    {
        // ARRANGE
        BackPropNetwork backprop = new BackPropNetwork();
        List <double>   inputs   = new List <double> {
            0.0,
            0.7,
            0.4,
            0.1,
            0.2222
        };

        // ACT
        List <double> outputs = new List <double>();

        foreach (var input in inputs)
        {
            outputs.Add(backprop.TanH(input));
        }


        // ASSERT
        foreach (var output in outputs)
        {
            Assert.That(output, Is.InRange(0f, 1f));
        }
    }
    public void TanH1()
    {
        // ARRANGE
        BackPropNetwork backprop = new BackPropNetwork();
        List <double>   inputs   = new List <double> {
            0.056566161,
            0.3651,
            0.268461,
            0.00005,
            0.00123005,
            0.0,
            0.0000125,
            0.0440005,
            1
        };

        // ACT
        List <double> outputs = new List <double>();

        foreach (var input in inputs)
        {
            outputs.Add(backprop.TanH(input));
        }


        // ASSERT
        foreach (var output in outputs)
        {
            Assert.That(output, Is.InRange(0f, 1f));
        }
    }