AK.F1.Timing.Model.Driver.LapHistoryEntryTest.ctor_throws_if_times_are_not_for_the_same_lap C# (CSharp) Method

ctor_throws_if_times_are_not_for_the_same_lap() private method

private ctor_throws_if_times_are_not_for_the_same_lap ( ) : void
return void
        public void ctor_throws_if_times_are_not_for_the_same_lap()
        {
            Assert.Throws<ArgumentException>(() =>
            {
                new LapHistoryEntry(
                    new PostedTime(TimeSpan.FromSeconds(10.0), PostedTimeType.Normal, 1),
                    new PostedTime(TimeSpan.FromSeconds(10.0), PostedTimeType.Normal, 2),
                    null, null);
            });
        }