<commit_before>﻿namespace NewId.Tests
{
    using System;
    using System.Net.NetworkInformation;
    using NUnit.Framework;

    [TestFixture]
    public class When_getting_a_network_address_for_the_id_generator
    {
        [Test]
        public void Should_pull_the_network_adapter_mac_address()
        {
            NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces();
            foreach (NetworkInterface adapter in adapters)
            {
                IPInterfaceProperties properties = adapter.GetIPProperties();
                Console.WriteLine(adapter.Description);
                Console.WriteLine("  DNS suffix .............................. : {0}",
                                  properties.DnsSuffix);
                Console.WriteLine("  DNS enabled ............................. : {0}",
                                  properties.IsDnsEnabled);
                Console.WriteLine("  Dynamically configured DNS .............. : {0}",
                                  properties.IsDynamicDnsEnabled);

                Console.WriteLine("  Network Type: ........................... : {0}", adapter.NetworkInterfaceType);
                Console.WriteLine("  Network Address: ........................ : {0}",
                                  adapter.GetPhysicalAddress());
            }
            Console.WriteLine();
        }
    }
}<commit_msg>Adjusted network id test to have an assertion<commit_after>﻿namespace NewId.Tests
{
    using NUnit.Framework;
    using Providers;

    [TestFixture]
    public class When_getting_a_network_address_for_the_id_generator
    {
        [Test]
        public void Should_pull_the_network_adapter_mac_address()
        {
            var networkIdProvider = new DefaultNetworkIdProvider();

            byte[] networkId = networkIdProvider.NetworkId;

            Assert.IsNotNull(networkId);
            Assert.AreEqual(6, networkId.Length);
        }
    }
}
{'fraction_non_alphanumeric': 0.13839056893900564, 'fraction_numerical': 0.0030753459764223477, 'mean_word_length': 1.6236559139784945, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5615090', 'n_tokens_mistral': 468, 'n_tokens_neox': 443, 'n_words': 86}