public void DownloadSpeed()
        {
            DownloadSpeedo speedTest = DownloadSpeedo.FactoryDownloadSpeedo();

            var test = speedTest.DownloadSpeed;

            Assert.True(true);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            double DownloadSpeed;

            string read = string.Empty;

            while (read != "q")
            {
                Console.WriteLine("1: Find Download Speed");
                Console.WriteLine("2: Find Dowload speed across ethernet");
                Console.WriteLine("3: Renew IP address");



                Console.WriteLine("q: Exit");
                read = Console.ReadLine();


                switch (read)
                {
                case "1":
                    DownloadSpeed = DownloadSpeedo.FactoryDownloadSpeedo().DownloadSpeed;
                    Console.WriteLine($"Download speed {DownloadSpeed} Mb/s");
                    break;

                case "2":
                    DownloadSpeed = InternalEthernetSpeedTest.SpeedAcrossEthernet();
                    Console.WriteLine($"Speed across the network interface {DownloadSpeed} Mb/s");
                    break;

                case "3":
                    DownloadSpeed = InternalEthernetSpeedTest.SpeedAcrossEthernet();
                    Console.WriteLine($"Speed across the network interface {DownloadSpeed} Mb/s");
                    break;

                default:
                    break;
                }
            }
        }