public void AListMax16Test() { var a = new AList1 <Person>(); a.Init(mas); Person res = a.Max(); Assert.AreEqual(16, res.ID); }
public void AListMax16Test() { 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.Max(); Assert.AreEqual(16, res); }
public void AList1_Max_Value_error() { Assert.AreEqual(9, aList1.Max()); }