Exemple #1
0
        public void DetectFirstSelectChampionTest()
        {
            Patterns patternsClass = null;

            foreach (var test in Samples.GenSelectSamples())
            {
                patternsClass = EnsureRightResolution(patternsClass, test.Sample.Width, test.Sample.Height);

                Assert.AreEqual(test.Champion?.ToLowerInvariant(),
                                patternsClass.DetectFirstSelectChampion(test.Sample));
            }
        }