<commit_before>﻿using NUnit.Framework.Interfaces;
using Xamarin.Forms;

namespace NUnit.Runner.Extensions
{
    internal static class XamarinExtensions
    {
        /// <summary>
        /// Gets the color to display for the test status
        /// </summary>
        /// <param name="result"></param>
        /// <returns></returns>
        public static Color Color(this ITestResult result)
        {
            switch (result.ResultState.Status)
            {
                case TestStatus.Passed:
                    return Xamarin.Forms.Color.Green;
                case TestStatus.Skipped:
                    return Xamarin.Forms.Color.Yellow;
                case TestStatus.Failed:
                    if (result.ResultState == ResultState.Failure)
                        return Xamarin.Forms.Color.Red;
                    if (result.ResultState == ResultState.NotRunnable)
                        return Xamarin.Forms.Color.FromRgb(255, 106, 0);  // Dark Red

                    return Xamarin.Forms.Color.FromRgb(170, 0, 0); // Dark Red
                    
                case TestStatus.Inconclusive:
                default:
                    return Xamarin.Forms.Color.Gray;
            }
        }
    }
}<commit_msg>Made the Ignore yellow darker so that it is readable on iOS<commit_after>﻿using NUnit.Framework.Interfaces;
using Xamarin.Forms;

namespace NUnit.Runner.Extensions
{
    internal static class XamarinExtensions
    {
        /// <summary>
        /// Gets the color to display for the test status
        /// </summary>
        /// <param name="result"></param>
        /// <returns></returns>
        public static Color Color(this ITestResult result)
        {
            switch (result.ResultState.Status)
            {
                case TestStatus.Passed:
                    return Xamarin.Forms.Color.Green;
                case TestStatus.Skipped:
                    return Xamarin.Forms.Color.FromRgb(206, 172, 0);    // Dark Yellow
                case TestStatus.Failed:
                    if (result.ResultState == ResultState.Failure)
                        return Xamarin.Forms.Color.Red;
                    if (result.ResultState == ResultState.NotRunnable)
                        return Xamarin.Forms.Color.FromRgb(255, 106, 0);  // Orange

                    return Xamarin.Forms.Color.FromRgb(170, 0, 0); // Dark Red
                    
                case TestStatus.Inconclusive:
                default:
                    return Xamarin.Forms.Color.Gray;
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.09211553473848556, 'fraction_numerical': 0.01209992193598751, 'mean_word_length': 1.4065727699530517, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6957173', 'n_tokens_mistral': 684, 'n_tokens_neox': 637, 'n_words': 148}