public void AListMin16Test() { int[] mas = new int[16] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; var a = new AList1<int>(); a.Init(mas); int res = a.Min(); Assert.AreEqual(1, res); }
public void AListMin16Test() { var a = new AList1<Person>(); a.Init(mas); Person res = a.Min(); Assert.AreEqual(1, res.ID); }