Interface IntegerContract<T extends Number>

Type Parameters:
T - The number type being tested.
All Superinterfaces:
ContractSupport<T>, IntegerSupport<T>, NumberSupport<T>, ProviderSupport<T>, SupportedMethods

public interface IntegerContract<T extends Number> extends IntegerSupport<T>
Test suite for classes that implement the Integer interface.
Since:
1.0.0
Author:
evanbergstrom
  • Method Details

    • testIntValue

      @Test @DisplayName("The intValue() function works for various values.") default void testIntValue()
      Tests that the implementation of the Number.intValue() method works for various values.
    • testLongValue

      @Test @DisplayName("The longValue() function works for various values.") default void testLongValue()
      Tests that the implementation of the Number.longValue() method works for various values.
    • testFloatValue

      @Test @DisplayName("The floatValue() function works for various values.") default void testFloatValue()
      Tests that the implementation of the Number.floatValue() method works for various values.
    • testDoubleValue

      @Test @DisplayName("The doubleValue() function works for various values.") default void testDoubleValue()
      Tests that the implementation of the Number.doubleValue() method works for various values.