Package edu.gvsu.kurmasz.warszawa.listgen
Classes that generate lists according to some algorithm (even
numbers between 10 and 20, all powers of 2 up to 256, random numbers between
0 and 100, etc.).
We designed this package to help generate lists to be used as
test cases. For example, one could use the
CornerCases
class to test an adder
using all the powers of 2 up to the width of the input.-
Class Summary Class Description CornerCases Generate lists of integers that represent values surrounding powers of 2.ExponentialCornerCases Generate lists of integers that represent values surrounding powers of 2 (using exponents for parameters).IntegerListGenerator Abstract superclass of generators for integer lists.RandomWithDuplicates Generate lists of random integers within a specified range.RandomWithoutDuplicates Generate lists of unique random integers within a specified range.Range Generate lists of integers within a specified range (like a simplefor
loop).Wildcard Generate lists of integers based on an integer with "wildcards".Wildcard.Pair<T,U> A class to hold a pair of values.