<commit_before>﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Leto.OpenSslFacts
{
    public class BadMessageFacts
    {
        //[Fact]
        //public async Task ClientHelloWithExtraBytes()
        //{
        //    using (var listener = new OpenSsl11.OpenSslSecurePipeListener(Data.Certificates.RSACertificate))
        //    {
        //        await CommonFacts.BadHelloFacts.SendHelloWithExtraTrailingBytes(listener);
        //    }
        //}

        //[Fact]
        //public async Task StartWithApplicationRecord()
        //{
        //    using (var listener = new OpenSsl11.OpenSslSecurePipeListener(Data.Certificates.RSACertificate))
        //    {
        //        await CommonFacts.BadHelloFacts.StartWithApplicationRecord(listener);
        //    }
        //}
    }
}<commit_msg>Added back tests<commit_after>﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Leto.OpenSslFacts
{
    public class BadMessageFacts
    {
        [Fact]
        public async Task ClientHelloWithExtraBytes()
        {
            using (var listener = new OpenSsl11.OpenSslSecurePipeListener(Data.Certificates.RSACertificate))
            {
                await CommonFacts.BadHelloFacts.SendHelloWithExtraTrailingBytes(listener);
            }
        }

        [Fact]
        public async Task StartWithApplicationRecord()
        {
            using (var listener = new OpenSsl11.OpenSslSecurePipeListener(Data.Certificates.RSACertificate))
            {
                await CommonFacts.BadHelloFacts.StartWithApplicationRecord(listener);
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.08917197452229299, 'fraction_numerical': 0.004632310364794441, 'mean_word_length': 2.229906542056075, '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': '7237418', 'n_tokens_mistral': 491, 'n_tokens_neox': 487, 'n_words': 80}