<commit_before>﻿using System;
using ATL.AudioReaders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text;

namespace ATL.test
{
    [TestClass]
    public class FactoryTest
    {
        [TestMethod]
        public void TestGetPlaylistFormats()
        {
            StringBuilder filter = new StringBuilder("");

            foreach (Format f in ATL.PlaylistReaders.PlaylistReaderFactory.GetInstance().getFormats())
            {
                if (f.Readable)
                {
                    foreach (String extension in f)
                    {
                        filter.Append(extension).Append(";");
                    }
                }
            }
            // Removes the last separator
            filter.Remove(filter.Length - 1, 1);

            Assert.AreEqual(".PLS;.M3U;.M3U8;.FPL;.XSPF;.SMIL;.SMI;.ASX;.WAX;.WVX;.B4S", filter.ToString());
        }
    }
}
<commit_msg>Fix TestGetPlaylistFormats after adding more extensions to the PlaylistReaderFactory<commit_after>﻿using System;
using ATL.AudioReaders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text;

namespace ATL.test
{
    [TestClass]
    public class FactoryTest
    {
        [TestMethod]
        public void TestGetPlaylistFormats()
        {
            StringBuilder filter = new StringBuilder("");

            foreach (Format f in ATL.PlaylistReaders.PlaylistReaderFactory.GetInstance().getFormats())
            {
                if (f.Readable)
                {
                    foreach (String extension in f)
                    {
                        filter.Append(extension).Append(";");
                    }
                }
            }
            // Removes the last separator
            filter.Remove(filter.Length - 1, 1);

            Assert.AreEqual(".PLS;.M3U;.M3U8;.FPL;.XSPF;.SMIL;.SMI;.ZPL;.WPL;.ASX;.WAX;.WVX;.B4S", filter.ToString());
        }
    }
}

{'fraction_non_alphanumeric': 0.10920436817472699, 'fraction_numerical': 0.0062402496099844, 'mean_word_length': 1.6537931034482758, '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': '5488130', 'n_tokens_mistral': 567, 'n_tokens_neox': 542, 'n_words': 96}