Exemple #1
0
        public void TextRange_EmptyTest()
        {
            TextRange r = TextRange.FromBounds(1, 2);

            r.Empty();

            TextRange.IsValid(r).Should().BeFalse();
            r.Start.Should().Be(0);
            r.End.Should().Be(0);
            r.Length.Should().Be(0);
        }