<commit_before>﻿namespace H3Control.Tests
{
    using System;
    using System.Diagnostics;
    using System.Net;
    using System.Threading;

    using NUnit.Framework;

    [TestFixture]
    public class H3_HttpServer_Tests
    {
        private H3Launcher Launcher;
        private int Port;

        string BaseUrl
        {
            get { return "http://localhost:" + Port; }
        }
        
        [TestFixtureSetUp]
        public void TestFixtureSetUp()
        {
            Launcher = new H3Launcher();
            Port = TestEnvironment.GetTcpPort();
            Launcher.LaunchAndWait(Port);
        }

        [Test]
        public void T01_Get_Favicon_Returns()
        {
            var url = BaseUrl + "/favicon.ico";
            using (WebClient client = new WebClient())
            {
                var data = client.DownloadData(url);
                Trace.WriteLine(url + ": length is " + data.Length);
            }
        }
<commit_msg>added traces<commit_after>﻿namespace H3Control.Tests
{
    using System;
    using System.Diagnostics;
    using System.Net;
    using System.Threading;

    using NUnit.Framework;

    using Universe;

    [TestFixture]
    public class H3_HttpServer_Tests
    {
        private H3Launcher Launcher;
        private int Port;

        string BaseUrl
        {
            get { return "http://localhost:" + Port; }
        }
        
        [TestFixtureSetUp]
        public void TestFixtureSetUp()
        {
            CrossInfo.AttachUnitTrace("H3Control unit tests");
            Launcher = new H3Launcher();
            Port = TestEnvironment.GetTcpPort();
            Launcher.LaunchAndWait(Port);
        }

        [Test]
        public void T01_Get_Favicon_Returns()
        {
            var url = BaseUrl + "/favicon.ico";
            using (WebClient client = new WebClient())
            {
                var data = client.DownloadData(url);
                Trace.WriteLine(url + ": length is " + data.Length);
            }
        }

{'fraction_non_alphanumeric': 0.08865775136206043, 'fraction_numerical': 0.0064388311045071814, 'mean_word_length': 1.6267880364109233, 'pattern_counts': {'":': 2, '<': 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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1197864', 'n_tokens_mistral': 570, 'n_tokens_neox': 550, 'n_words': 122}