Class NormalisedNumberComparator

  • All Implemented Interfaces:
    net.javacrumbs.jsonunit.core.NumberComparator

    public class NormalisedNumberComparator
    extends java.lang.Object
    implements net.javacrumbs.jsonunit.core.NumberComparator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean compare​(java.math.BigDecimal expectedValue, java.math.BigDecimal actualValue, java.math.BigDecimal tolerance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NormalisedNumberComparator

        public NormalisedNumberComparator()
    • Method Detail

      • compare

        public boolean compare​(java.math.BigDecimal expectedValue,
                               java.math.BigDecimal actualValue,
                               java.math.BigDecimal tolerance)
        Specified by:
        compare in interface net.javacrumbs.jsonunit.core.NumberComparator