Esempio n. 1
0
        public static void ReduceToOeste()
        {
            string[] input = { "NORTE", "SUR", "SUR", "ESTE", "OESTE", "NORTE", "OESTE" };

            string[] output = { "OESTE" };

            Assert.AreEqual(DirReduction.DirReduc(input), output);
        }
Esempio n. 2
0
        public static void NotReduce()
        {
            string[] input = { "NORTE", "OESTE", "SUR", "ESTE" };

            Assert.AreEqual(DirReduction.DirReduc(input), input);
        }