Class EdgeValuePool
java.lang.Object
org.ek9lang.compiler.fuzz.EdgeValuePool
Provides type-aware edge-case value pools for EK9 built-in types.
Used by user-facing fuzz test generation to exercise boundary conditions,
empty/unset states, and extreme values for each type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEdgeValues(String typeName) Get all edge-case values for a given type name.getRandomEdgeValue(String typeName, Random random) Get a random edge-case value for a given type name.booleanhasEdgeValues(String typeName) Check if edge values are available for a given type.
-
Constructor Details
-
EdgeValuePool
public EdgeValuePool()
-
-
Method Details
-
getEdgeValues
-
getRandomEdgeValue
-
hasEdgeValues
Check if edge values are available for a given type.- Parameters:
typeName- the EK9 type name- Returns:
- true if the type has defined edge values
-