Ejemplo n.º 1
0
        public void StyleSpans_with_equivalent_content_have_the_same_hash_code()
        {
            var one = new StyleSpan("green", Ansi.Color.Foreground.Green);
            var two = new StyleSpan("green", Ansi.Color.Foreground.Green);

            one.GetHashCode().Should().Be(two.GetHashCode());
        }