<commit_before>﻿using System;
using NUnit.Framework;
using PluginLibrary;
using System.Reflection;
using System.IO;

namespace PluginLibraryTests
{
    [TestFixture]
    public class PluginLaunchTest
    {
        [Test]
        public void TestLaunchingSamplePlugin()
        {
            var libs = new PluginLauncher();
            libs.LaunchPlugins("src/plugins/SamplesPlugin/bin/Release");
            Assert.AreEqual(1, libs.Plugins.Count);
        }
    }
}
<commit_msg>now test runs on linux too<commit_after>﻿using System;
using NUnit.Framework;
using PluginLibrary;
using System.Reflection;
using System.IO;
using System.Collections.Generic;

namespace PluginLibraryTests
{
    [TestFixture]
    public class PluginLaunchTest
    {
        [Test]
        public void TestLaunchingSamplePlugin()
        {
            var libs = new PluginLauncher();
            var folder = "src/plugins/SamplesPlugin/bin";
            var dirs = new List<string>(Directory.GetDirectories(folder));
            foreach (var dir in dirs)
            {
                libs.LaunchPlugins(dir);
            }
            Assert.IsTrue(libs.Plugins.Count >= 1);
        }
    }
}

{'fraction_non_alphanumeric': 0.09215017064846416, 'fraction_numerical': 0.0017064846416382253, 'mean_word_length': 2.341880341880342, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '3098999', 'n_tokens_mistral': 340, 'n_tokens_neox': 323, 'n_words': 73}