AK.F1.Timing.Model.Driver.LapTimesModelTest.get_sector_throws_if_sector_number_is_not_positive_or_greater_than_three C# (CSharp) Method

get_sector_throws_if_sector_number_is_not_positive_or_greater_than_three() private method

        public void get_sector_throws_if_sector_number_is_not_positive_or_greater_than_three()
        {
            var model = new LapTimesModel();

            Assert.Throws<ArgumentOutOfRangeException>(() => model.GetSector(0));
            Assert.Throws<ArgumentOutOfRangeException>(() => model.GetSector(4));
        }