Class MinMaxValidatorsForNumberTest


  • public class MinMaxValidatorsForNumberTest
    extends Object
    Check correct behaviour of MinValidatorForNumber and MaxValidatorForNumber on boundary values.

    The chosen numbers: 9223372036854775806l and 9223372036854775807l cast to the same double value.

    Author:
    Carlos Vara
    • Field Detail

      • min

        @Min(9223372036854775807L)
        public @jakarta.validation.constraints.Min(9223372036854775807L) long min
      • max

        @Max(9223372036854775806L)
        public @jakarta.validation.constraints.Max(9223372036854775806L) long max
    • Constructor Detail

      • MinMaxValidatorsForNumberTest

        public MinMaxValidatorsForNumberTest()
    • Method Detail

      • testMinBoundaryValue

        public void testMinBoundaryValue()
      • testMaxBoundaryValue

        public void testMaxBoundaryValue()