public EquationFinderController(string setupDigits) { var definedOperations = new[] { "+", "-", "j" }; IFindAllPermutations permutator = new Permutator(setupDigits, definedOperations); _equationFinder = new EquationFinder(permutator); }
public void FindAllPermutations() { var equationFinder = new EquationFinder(_permutator); equationFinder.FindAllFor(50); _permutator.Received(1).FindAll(); }