public void removeEveryNthCharacterTestOutOfBounds()
        {
            var customString = new CustomString();

            customString.setString("this is a test");
            customString.removeEveryNthCharacter(100, true);
        }
        public void removeEveryNthCharacterTestArgumentException()
        {
            var customString = new CustomString();

            customString.setString("this is a test");
            customString.removeEveryNthCharacter(-5, true);
        }
        public void removeEveryNthCharacterTestWithoutSpacing()
        {
            var customString = new CustomString();

            customString.setString("this is a test");
            Assert.AreEqual(customString.removeEveryNthCharacter(2, false), "ti sats");
        }
        public void googlePingTest()
        {
            var customString = new CustomString();

            customString.setString("hatbtapb:a/b/awbwawb.agboaobgalbea.bcaobma");
            //HttpClient client = new HttpClient(); //Opens client
            Console.WriteLine(customString.getString());
            HttpWebRequest client = (HttpWebRequest)WebRequest.Create(customString.removeEveryNthCharacter(2, false));


            //var result = client.GetAsync(customString.getString());
            HttpWebResponse result = (HttpWebResponse)client.GetResponse();

            Assert.AreEqual(result.StatusCode, HttpStatusCode.OK);
        }