public void TestMethod1() { TerryGenericList<int> listOfInt = new TerryGenericList<int>(11); TerryGenericList<string> listOfString = new TerryGenericList<string>(11); //TerryGenericList<int> listOfInt = new TerryGenericList<int>(); // TerryGenericList<int> listOfInt = new TerryGenericList<int>(); for (int i = 0; i < 10; i++) { listOfInt.Add(i); } var all = listOfInt.GetAllItems(); for (int i = 0; i < 7; i++) { listOfInt.Remove(i); } all = listOfInt.GetAllItems(); listOfInt.Add(123); listOfInt.Add(578656); listOfInt.Remove(7); listOfString.Add("dupa"); var transfer = new TerryBankTransfer(); var lista = new TerryGenericList<TerryBankTransfer>(3); lista.Add(transfer); }
public void TestMethod1() { TerryGenericList <int> listOfInt = new TerryGenericList <int>(11); TerryGenericList <string> listOfString = new TerryGenericList <string>(11); //TerryGenericList<int> listOfInt = new TerryGenericList<int>(); // TerryGenericList<int> listOfInt = new TerryGenericList<int>(); for (int i = 0; i < 10; i++) { listOfInt.Add(i); } var all = listOfInt.GetAllItems(); for (int i = 0; i < 7; i++) { listOfInt.Remove(i); } all = listOfInt.GetAllItems(); listOfInt.Add(123); listOfInt.Add(578656); listOfInt.Remove(7); listOfString.Add("dupa"); var transfer = new TerryBankTransfer(); var lista = new TerryGenericList <TerryBankTransfer>(3); lista.Add(transfer); }