Esempio n. 1
0
 public void testMethods()
 {
     gsm.addCallToCallHistory(call1);
     gsm.addCallToCallHistory(call2);
     gsm.displayCallHistory();
     Console.WriteLine("Price before removing longest call: " + gsm.calculateCallPriceInCallHistory(price));
     gsm.removeLongestCall();
     Console.WriteLine("Price without longest call: " + gsm.calculateCallPriceInCallHistory(price));
     gsm.clearCallHistory();
     gsm.displayCallHistory();
 }