static void Main() { GSM firstTest = new GSM("Desire 500", "HTC", 500, "Stamat Peshov"); GSM secondTest = new GSM("A3", "Samsmung", 350, "Dimitar Stoyanov"); GSM thirdTest = new GSM("One Mini", "HTC", 800, "Strinka Krustanova"); // Test Battery firstTest.BatteryCharacteristics = new Battery("Li-lon"); //Console.WriteLine(firstTest.BatteryCharacteristics.Model); // Test Display firstTest.DisplayCharacteristics = new Display("500 X 500", 3); //Console.WriteLine(firstTest.DisplayCharacteristics.Size); // Test GSM GSMTest tst = new GSMTest(); tst.gsmTest.Add(firstTest); tst.gsmTest.Add(secondTest); tst.gsmTest.Add(thirdTest); tst.gsmTest[0].SeeAllGSMInformation(); // work tst.gsmTest[1].SeeAllGSMInformation(); // work tst.gsmTest[2].SeeAllGSMInformation(); // work // Console.WriteLine(tst.gsmTest[0].IPhone4S = "Apple"); // Test call history GSMCallHistoryTest testCalls = new GSMCallHistoryTest("One", "HTC"); testCalls.TestFunctionality(); }
static void Main() { GSMTest test = new GSMTest(); //testing the GSM class }
static void Main() { GSMTest.TestGSMClass(); Console.WriteLine("******************************"); GSMCallHistoryTest.TestGSMCalls(); }
static void Main(string[] args) { GSMTest.TestTheGSMs(); //GSMCallHistoryTest.Test(); //GSM Samsung = new GSM("Galaxy", "Samsung", "John", 30, new Battery("233DS", 900, 700, BatteryType.LiIon), new Display(18, 78000)); }