@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GenerateDouble
AlchemyTestRunner, this Annotations allows the
Runtime Injection of Generated Doubles from the AlchemyGenerator library.
Example:
`@RunWith(AlchemyTestRunner.class)
public class ExampleTest
{
`@GenerateDouble(POSITIVE)
private double percentage;
...
}
Note, ticks (`) used to escape Javadocs.GenerateInteger,
GenerateLong,
GenerateString| Modifier and Type | Optional Element and Description |
|---|---|
double |
max |
double |
min |
GenerateDouble.Type |
value |
public abstract GenerateDouble.Type value
public abstract double min
public abstract double max
Copyright © 2015–2018 RedRoma, Inc.. All rights reserved.