public void Calculator1() { // AlphameticsSolver alphameticsSolver = new AlphameticsSolver(); Assert.Equal("", AlphameticsSolver.Alphametics("1-1 +1")); Assert.Equal("", AlphameticsSolver.Alphametics("1-1 +1")); Assert.Equal("", AlphameticsSolver.Alphametics("1-1 +1")); Assert.Equal("", AlphameticsSolver.Alphametics("1-1 +1")); Assert.Equal("", AlphameticsSolver.Alphametics("1-1 +1")); }
public static IDictionary <char, int> Solve(string equation) => AlphameticsSolver.Solve(Parse(equation));