public static void FixedTest_aaaa()
        {
            Dictionary <char, int> d = new Dictionary <char, int>();

            d.Add('a', 4);
            Assert.AreEqual(d, CountCharacters.Count("aaaa"));
        }
        public void Count_characterTest()
        {
            string          text       = "If you're going to try, go all the way. Otherwise, don't even start.";
            CountCharacters characters = new CountCharacters(text);
            int             count      = 68;

            Assert.IsTrue(count == characters.Count_character());
            //Assert.Fail();
        }
 public void CountcharactersTest()
 {
     string str = "abcd2 Adgdg gggg A4fgtf jhufd 含电话v lovejx97 " +
         "99999 gggg gggg hgyfv 09ibj jhnbh abcd2 abcd3 abc";
     CountCharacters countCharacters = new CountCharacters();
     int real = countCharacters.Countcharacters(str);
     int expect = 90;
     Assert.AreEqual(real, expect);
 }
 public void CountCharactersTest()
 {
     string          text       = "If you're going to try, go all the way. Otherwise, don't even start.";
     CountCharacters characters = new CountCharacters(text);
     //Assert.Fail();
 }