public void SetInputs() { Assert.ThrowsException <IndexOutOfRangeException>( () => Net.SetInputs(new float[0])); Net.SetInputs(new float[] { 5 }); var state = Net.GetState(); Assert.AreEqual(5, state[0], float.Epsilon); Net.SetInput(0, 2); state = Net.GetState(); Assert.AreEqual(2, state[0], float.Epsilon); }