Exemplo n.º 1
0
        public void PointOnBound(
            int point)
        {
            var closedLowerBound = new ClosedLowerBound <int>(
                point: point);

            Assert.True(
                closedLowerBound.CompareToPoint(
                    point: point,
                    comparer: Comparer <int> .Default) == 0);
        }
Exemplo n.º 2
0
        public void PointToTheRightTest(
            int lowerBoundPoint,
            int point)
        {
            var closedLowerBound = new ClosedLowerBound <int>(
                point: lowerBoundPoint);

            Assert.True(
                closedLowerBound.CompareToPoint(
                    point: point,
                    comparer: Comparer <int> .Default) < 0);
        }