Beispiel #1
0
        public WordCombineHandler(IInputWordRepository inputWordRepository, IResultPrinter resultPrinter)
        {
            _inputWordRepository = inputWordRepository;
            _resultPrinter       = resultPrinter;

            // give handler responsibility to determine algorithm details:
            _wordCombineAlgorithm = new WordCombineAlgorithm(CombinationLength);
        }
Beispiel #2
0
        public void TestIntialize()
        {
            var combinationLength = 6;

            _sut = new WordCombineAlgorithm(combinationLength);
        }