Пример #1
0
        public void Test7()
        {
            string expected = "Resultado = [WEST , WEST]";

            string[] array = new string[] { "NORTH", "EAST", "WEST", "SOUTH", "WEST", "WEST" };

            Directions d = new Directions();

            string[] result = d.DirReduc_versionClojure(array);

            string stringResult = StringConstruction.getString(result);

            Assert.Equal(expected, stringResult);
        }
Пример #2
0
        public void Test8()
        {
            string expected = "Resultado = null";

            string[] array = new string[] { };

            Directions d = new Directions();

            string[] result = d.DirReduc_versionClojure(array);

            string stringResult = StringConstruction.getString(result);

            Assert.Equal(expected, stringResult);
        }