Ejemplo n.º 1
0
        public void TestGetHashCodeDiffers()
        {
            var feature1 = new TestFeature(nameof(TestFeature));
            var feature2 = new TestFeature("123");

            feature1.GetHashCode().Should().NotBe(feature2.GetHashCode());
        }
Ejemplo n.º 2
0
        public void TestGetHashCodeMatch()
        {
            var feature1 = new TestFeature(nameof(TestFeature));

            feature1.GetHashCode().Should().Be(feature1.GetHashCode());
        }