Esempio n. 1
0
        public void StringifyLeastFrequent_BuildsString_BasedOnFrequencies_InColumns()
        {
            var expected = "advent";

            var actual = LetterFrequency.StringifyLeastFrequent(() => TestCase.Data);

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        public static void Problem6()
        {
            var s = LetterFrequency.StringifyLeastFrequent(() => FileStringReader.Read("P6.txt"));

            Console.WriteLine("Frequented string = {0}", s);
        }