public void WordRepeatAmount_ChecksHowManyTimesWordRepeats_Int()
        {
            RepeatCounter newTest = new RepeatCounter();

            string[] testWords    = { "test", "words", "test" };
            string   testUserWord = "test";
            int      expected     = 2;

            newTest.CreateWordTally(testWords);
            int actual = newTest.WordRepeatAmount(testUserWord);

            Assert.AreEqual(expected, actual);
        }
        public void CreateWordTally_ChecksWordsAddedValuesCorrect_DictDef()
        {
            RepeatCounter newTest = new RepeatCounter();

            string[] testWords = { "test", "words", "test" };
            int      expected  = 2;

            newTest.CreateWordTally(testWords);
            Dictionary <string, int> actualTally = newTest.GetWordTally();

            actualTally.TryGetValue("test", out int actual);
            Assert.AreEqual(expected, actual);
        }