change Test Cases
This commit is contained in:
parent
a91c075ef2
commit
42678a3984
@ -5,8 +5,8 @@ public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
//supported versions;
|
||||
String latest_version = "1.9.4";
|
||||
String min_version = "1.8.3";
|
||||
String latest_version = "1.10.0";
|
||||
String min_version = "1.9.4";
|
||||
|
||||
|
||||
System.out.println("\nMinimum Requred Version: " + min_version + " | Latest Stable Version: " + latest_version + "\n");
|
||||
@ -15,15 +15,15 @@ public class Main {
|
||||
System.out.println("Test Versions ...");
|
||||
Version A = Version.check(min_version,latest_version,"1.9.4");
|
||||
Version B = Version.check(min_version,latest_version,"1.10.0+dev-414-gf1fdd782d");
|
||||
Version C = Version.check(min_version,latest_version,"no-version-at-all");
|
||||
Version C = Version.check(min_version,latest_version,"1.10.0");
|
||||
Version D = Version.check(min_version,latest_version,"1.8.1");
|
||||
Version E = Version.check(min_version,latest_version,"1.10.0");
|
||||
Version E = Version.check(min_version,latest_version,"1.9.0");
|
||||
|
||||
System.out.println("1.9.4 = " + A.name());
|
||||
System.out.println("1.10.0+dev-414-gf1fdd782d = " + B.name());
|
||||
System.out.println("-no-version-at-all- = " + C.name());
|
||||
System.out.println("1.10.0 = " + C.name());
|
||||
System.out.println("1.8.1 = " + D.name());
|
||||
System.out.println("1.10.0 = " + E.name());
|
||||
System.out.println("1.9.0 = " + E.name());
|
||||
|
||||
System.out.println("...");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user