◐ Shell
clean mode source ↗

Fix ignore step size by lnyng · Pull Request #209 · scijava/scijava-common

Expand Up @@ -71,6 +71,10 @@ public void testValid() { final List<ValidityProblem> problems = info.getProblems(); assertNotNull(problems); assertEquals(0, problems.size());
final Number stepSize = info.getInput("x").getStepSize(); assertNotNull(stepSize); assertEquals(10, stepSize.intValue()); }
@Test Expand Down Expand Up @@ -101,7 +105,7 @@ public void testInvalid() { @Plugin(type = Command.class) public static class ValidCommand implements Command {
@Parameter @Parameter(stepSize = "10") private double x;
@Parameter(type = ItemIO.OUTPUT) Expand Down