Exemple #1
0
 private static void ConsoleWriteInput(IMarsDiscover marsDiscovery)
 {
     Console.WriteLine("----INPUT----");
     Console.WriteLine(marsDiscovery.GetMarsArea().ToString());
     foreach (var roverInformation in marsDiscovery.GetRoverInfoList())
     {
         Console.WriteLine(roverInformation.Location);
         Console.WriteLine(roverInformation.Command);
     }
 }
Exemple #2
0
 private static void ConsoleWriteOutput(IMarsDiscover marsDiscovery)
 {
     Console.WriteLine("----OUTPUT----");
     marsDiscovery.GetLocationList().ForEach(x => Console.WriteLine(x));
 }