@Test public void timeIsValid_whenConsistsOfFloatingPointNumber() { assertThat(RobotTimeFormat.isValidRobotTimeArgument("1.")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("-42.123")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("3.1415")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("0.0")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("0.9")).isTrue(); }
public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); } }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument);  }