public void CanApplyTrainingForWholeNetwork() { NNetwork n = NNetwork.SigmoidNetwork(new int[] { 1, 2, 2, 1 }); n.SetInput(new double[] { 0.3 }); n.SetAnswers(new double[] { 0.8 }); n.BackPropagate(); var output_before = n.GetOutput(); n.ApplyTraining(); var output_after = n.GetOutput(); Assert.AreNotEqual(output_after, output_before); }