Exemplo n.º 1
0
        public void IsPathCrossing_1()
        {
            var solution = new _1496_PathCrossing();
            var result   = solution.IsPathCrossing("NES");

            Assert.IsFalse(result);
        }
Exemplo n.º 2
0
        public void IsPathCrossing_2()
        {
            var solution = new _1496_PathCrossing();
            var result   = solution.IsPathCrossing("NESWW");

            Assert.IsTrue(result);
        }