| Modifier and Type | Field and Description |
|---|---|
static double |
MAX_GENERATED |
static double |
MAX_GENERATED_FRACTIONAL |
static double |
MIN_GENERATED |
static double |
MIN_GENERATED_FRACTIONAL |
| Constructor and Description |
|---|
DoubleNumericCase() |
| Modifier and Type | Method and Description |
|---|---|
DoubleNumericCase |
excluding(Iterable<Double> values) |
Set<Subcase<Double>> |
getSubcases()
Returns the specific set of subcases that describe all equivalency classes for this case.
|
Case<Double> |
greaterThan(double minExclusive) |
Case<Double> |
greaterThanOrEqualTo(double minInclusive) |
Case<Double> |
inRange(double minInclusive,
double maxInclusive) |
Case<Double> |
lessThan(double maxExclusive) |
Case<Double> |
lessThanOrEqualTo(double maxInclusive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexcluding, excluding, generateAllOnce, generateAllOnce, generateAnyOnce, generateAnyOnce, or, orNullpublic static final double MAX_GENERATED
public static final double MIN_GENERATED
public static final double MAX_GENERATED_FRACTIONAL
public static final double MIN_GENERATED_FRACTIONAL
public DoubleNumericCase excluding(Iterable<Double> values)
public Set<Subcase<Double>> getSubcases()
CaseCases are expected to return at least one subcase. When the fuzzy engine is determining how many test cases to execute, it does so in terms of subcases, not cases. Thus, when using the pairwise permutation algorithm, the fuzzy library works to ensure that each possible combination of two subcases are executed.
Note to implementors: cases should generally not include null values as
possible outputs. Instead, consumers are expected to use the Case.orNull() method (or, equivalently,
Any.nullableOf(com.redfin.fuzzy.Case<T>)) to declare that their cases should also generate null values.
getSubcases in interface Case<Double>Copyright © 2017 Redfin. All rights reserved.