public void Match_FailsWhenValueIsGreaterThanMax()
        {
            MaxHttpRouteConstraint constraint = new MaxHttpRouteConstraint(3);
            bool match = TestValue(constraint, 5);

            Assert.False(match);
        }
        public void Match_SucceedsWhenValueIsEqualToMax()
        {
            MaxHttpRouteConstraint constraint = new MaxHttpRouteConstraint(3);
            bool match = TestValue(constraint, 3);

            Assert.True(match);
        }
 public void Match_FailsWhenValueIsGreaterThanMax()
 {
     MaxHttpRouteConstraint constraint = new MaxHttpRouteConstraint(3);
     bool match = TestValue(constraint, 5);
     Assert.False(match);
 }
 public void Match_SucceedsWhenValueIsEqualToMax()
 {
     MaxHttpRouteConstraint constraint = new MaxHttpRouteConstraint(3);
     bool match = TestValue(constraint, 3);
     Assert.True(match);
 }