public void Consonant_percentage_test() { Text.Text text = new Text.Text(); text.Add("ab"); text.Add("cu"); double consonants = text.Consonant_percentage(); Assert.AreEqual(consonants, 50); }