Class RuntimeTestUtil


  • public final class RuntimeTestUtil
    extends Object
    Utility class for runtime unit tests.
    • Method Detail

      • getRangedNumList

        public static List getRangedNumList​(int start,
                                            int end)
        Gets a list of integer pair elements in range.
        Parameters:
        start - value of the range (inclusive).
        end - value of the range (exclusive).
        Returns:
        the list of elements.
      • flatten

        public static List flatten​(List<List> listOfList)
        Flattens a nested list of elements.
        Parameters:
        listOfList - to flattens.
        Returns:
        the flattened list of elements.