<commit_before>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using NUnit.Framework;
using Theraot;
using Theraot.Collections;
using Theraot.Reflection;

namespace Tests.Helpers
{
    public static class AssertEx
    {
        [DebuggerNonUserCode]
        [MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
        public static void AreEqual<T>(T expected, T actual)
        {
            Assert.AreEqual(expected, actual);
        }

        [DebuggerNonUserCode]
        [MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
        public static void Throws<TException>(Func<object> code)<commit_msg>Redundant using<commit_after>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using NUnit.Framework;
using Theraot.Collections;
using Theraot.Reflection;

namespace Tests.Helpers
{
    public static class AssertEx
    {
        [DebuggerNonUserCode]
        [MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
        public static void AreEqual<T>(T expected, T actual)
        {
            Assert.AreEqual(expected, actual);
        }

        [DebuggerNonUserCode]
        [MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
        public static void Throws<TException>(Func<object> code)
{'fraction_non_alphanumeric': 0.08315863032844165, 'fraction_numerical': 0.0, 'mean_word_length': 3.8378378378378377, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6311469', 'n_tokens_mistral': 400, 'n_tokens_neox': 396, 'n_words': 86}