public void GetNeuron_CorrectIndexes_Success() { var som = new SOMap(5, 5, 2, 100, 0.5); var neuron = som.GetNeuron(4, 4); Assert.NotNull(neuron); }
public void GetNeuron_HeightOutOfRange_ExceptionThrown() { var som = new SOMap(5, 5, 2, 100, 0.5); Assert.Throws <ArgumentException>(() => som.GetNeuron(5, 6)); }