<commit_before>﻿using Xunit;
using System.Globalization;
using System.Threading;

namespace CronExpressionDescriptor.Test.Support
{
    public abstract class BaseTestFormats
    {
        protected virtual string GetLocale()
        {
            return "en-US";
        }

        protected string GetDescription(string expression)
        {
            return GetDescription(expression, new Options());
        }

        protected string GetDescription(string expression, Options options)
        {
            options.Locale = this.GetLocale();
            return ExpressionDescriptor.GetDescription(expression, options);
        }
    }
}<commit_msg>Add verbose option for tests<commit_after>﻿using Xunit;
using System.Globalization;
using System.Threading;

namespace CronExpressionDescriptor.Test.Support
{
    public abstract class BaseTestFormats
    {
        protected virtual string GetLocale()
        {
            return "en-US";
        }

        protected string GetDescription(string expression, bool verbose = false)
        {
            return GetDescription(expression, new Options() { Verbose = verbose });
        }

        protected string GetDescription(string expression, Options options)
        {
            options.Locale = this.GetLocale();
            return ExpressionDescriptor.GetDescription(expression, options);
        }
    }
}

{'fraction_non_alphanumeric': 0.07388809182209469, 'fraction_numerical': 0.0, 'mean_word_length': 2.3293556085918854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4646413', 'n_tokens_mistral': 326, 'n_tokens_neox': 316, 'n_words': 83}