コード例 #1
0
        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"));
        }
コード例 #2
0
 public static IDictionary <char, int> Solve(string equation) => AlphameticsSolver.Solve(Parse(equation));