AK.F1.Timing.Messages.Driver.TimeGapTest.ctor_throws_if_time_is_not_positive C# (CSharp) Method

ctor_throws_if_time_is_not_positive() private method

private ctor_throws_if_time_is_not_positive ( ) : void
return void
        public void ctor_throws_if_time_is_not_positive()
        {
            Assert.DoesNotThrow(() => { var gap = new TimeGap(TimeSpan.Zero); });
            Assert.Throws<ArgumentOutOfRangeException>(() => { var gap = new TimeGap(TimeSpan.FromMilliseconds(-1)); });
        }