Beispiel #1
0
        public void CanSolveAnotherExampleWithMaxOf5()
        {
            var mat = Examples.AnotherExampleWithMaxOf5();

            var area = Iterative.FindMaxConnectedColors(mat);

            Assert.Equal(5, area);
        }
Beispiel #2
0
        public void CanSolveTechLeadExample()
        {
            var mat = Examples.TechLeadExample();

            var area = Iterative.FindMaxConnectedColors(mat);

            Assert.Equal(5, area);
        }