Arc.Unit.Tests.Domain.Units.RangeTests.Element_should_be_in_range_when_its_equal_to_upper_bound_and_its_inclusive C# (CSharp) Метод

Element_should_be_in_range_when_its_equal_to_upper_bound_and_its_inclusive() приватный Метод

        public void Element_should_be_in_range_when_its_equal_to_upper_bound_and_its_inclusive()
        {
            var expectedLowerBound = 0;
            var expectedUpperBound = 1;
            var expectedElement = 1;

            var target = new Range<int>(expectedLowerBound, expectedUpperBound);
            var actual = target.Contains(expectedElement);

            Assert.That(actual, Is.True);
        }