Class DecimalMaxConstraintTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DecimalMaxConstraintTest extends AbstractConstraintTest
Testing the DecimalMax Constraint.
  • Constructor Details

    • DecimalMaxConstraintTest

      public DecimalMaxConstraintTest()
  • Method Details

    • testMaxConstraintFails1

      public void testMaxConstraintFails1()
      must fail because value is 0.000000001 larger as rule
    • testMaxConstraintEqual

      public void testMaxConstraintEqual()
      must succeed because value is 0.0000001 equal to max limit
    • testMaxConstraintFalse2

      public void testMaxConstraintFalse2()
      must fail because value is 0.000000001 larger as rule
    • testMaxConstraintOk1

      public void testMaxConstraintOk1()
      is ok, difference is 0.00000000001 below border
    • testMaxConstraintOk2

      public void testMaxConstraintOk2()
      is ok, difference is 0.00000000001 below border