Beispiel #1
0
        public void SortedInsertation()
        {
            var pc = new PositionCollection();

            pc.Create(0, Bias.Forward);
            pc.Create(10, Bias.Backward);
            pc.Create(6, Bias.Backward);
            pc.Create(6, Bias.Forward);
            pc.Contents().Should().BeInAscendingOrder(new TextPositionComparer());
        }