static void Main()
        {
            GSMTest.TestGSM();

            Console.WriteLine("=============");

            GSMCallHistoryTest.CallTest();
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     // I recomend to comment one of the tests, because they are a bit
     // too long and that makes it a little hard to read.
     // For tasks conditions refer to Tasks.txt in the current project
     GSMTest.Test();
     GSMCallHistoryTest.Test();
 }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            GSM      currentGSM  = new GSM("IPhone7", "Apple");
            GSM      currentGSM2 = new GSM("IPhone7", "Apple");
            GSM      currentGSM3 = new GSM("IPhone7", "Apple");
            DateTime currentDate = new DateTime(2015, 12, 6, 6, 33, 0);
            Call     firstCall   = new Call(currentDate, "0887589423", 120);

            currentDate = currentDate.AddMinutes(30);
            Call    secondCall = new Call(currentDate, "0878236732", 180);
            GSMTest someTest   = new GSMTest(new GSM[] { currentGSM, currentGSM2, currentGSM3 });
        }