public void NextLetter() { var test = "dolypartn"; var actual = new HashSet <char>(); for (var i = 0; i < 200; i++) { actual.Add(TRandom.NextLetter(test)); } Assert.AreEqual(test.Length, actual.Count); }