Exemplo n.º 1
0
        private void AssertContainsIconColor(string folderPath, string iconName, RequiredColor expectedColor)
        {
            string  fullImagePath = Path.Combine(folderPath, iconName);
            SKColor actualColor   = TestColorHelper.GetAverageColor(fullImagePath);

            TestColorHelper.AssertSameColor(SKColor.Parse(expectedColor.ColorHexValue), actualColor);
        }
        private void AssertIconColor(string fullImagePath, RequiredColor requiredColor)
        {
            SKColor actualColor = TestColorHelper.GetAverageColor(fullImagePath);

            TestColorHelper.AssertSameColor(SKColor.Parse(requiredColor.ColorHexValue), actualColor);
        }