@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GenerateFloat
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 |
|---|---|
float |
max |
float |
min |
GenerateFloat.Type |
value |
public abstract GenerateFloat.Type value
public abstract float min
public abstract float max
Copyright © 2015–2018 RedRoma, Inc.. All rights reserved.