AK.F1.Timing.Utility.HashCodeBuilderTest.add_should_accept_null_and_not_alter_the_hashcode C# (CSharp) Метод

add_should_accept_null_and_not_alter_the_hashcode() приватный Метод

private add_should_accept_null_and_not_alter_the_hashcode ( ) : void
Результат void
        public void add_should_accept_null_and_not_alter_the_hashcode()
        {
            var builder = HashCodeBuilder.New();
            int hash = builder.GetHashCode();

            Assert.DoesNotThrow(() => builder.Add<object>(null));
            Assert.Equal(hash, builder.GetHashCode());
        }