Beispiel #1
0
 public void FromStreamPositionEndThrows()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => StreamRevision.FromStreamPosition(StreamPosition.End));
 }
        public void FromStreamPositionReturnsExpectedResult()
        {
            var result = StreamRevision.FromStreamPosition(StreamPosition.Start);

            Assert.Equal(new StreamRevision(0), result);
        }