public void Solve_UsingMockedData_ReturnsDictionaryWithCorrectAmountOfEntries() { // ACT var result = lettersSolver.Solve(new char[] { }); // ASSERT Assert.Equal(2, result.Count); Assert.Equal(2, result[3].Count); Assert.Equal(1, result[5].Count); Assert.Throws <KeyNotFoundException>(() => result[4]); }
public IDictionary <int, List <string> > GetSolutions(char[] letters) { return(_lettersSolver.Solve(letters)); }