public void NU_ToString_AListR(int[] ini, string exp) { AListR list = new AListR(); list.Init(ini); for (int i = 5; i >= 0; i--) { list.AddStart(i); } string act = list.ToString(); Assert.AreEqual(exp, act); }
public void ToString_AListR() { AListR list = new AListR(); list.Init(new int[] { 6 }); for (int i = 5; i >= 0; i--) { list.AddStart(i); } string act = list.ToString(); string exp = "0 1 2 3 4 5 6"; Assert.AreEqual(exp, act); }