public void IndMax_AListR() { AListR list = new AListR(); list.Init(new int[] { 6 }); for (int i = 5; i >= 0; i--) { list.AddStart(i); } int act = list.IndMax(); Assert.AreEqual(6, act); }
public void NU_IndMax_AListR(int[] ini, int exp) { AListR list = new AListR(); list.Init(ini); for (int i = 5; i >= 0; i--) { list.AddStart(i); } int act = list.IndMax(); Assert.AreEqual(exp, act); }