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