Ejemplo n.º 1
0
        public void CheckTest(string op, int count, bool expected)
        {
            Dictionary <string, int> targetDictionary = new Dictionary <string, int>();

            targetDictionary.Add("1", 1);
            targetDictionary.Add("2", 1);
            targetDictionary.Add("7", 1);
            var result = TreeConstructor.Check(op, targetDictionary, count);

            Assert.Equal(expected, result);
        }