change Test Cases

This commit is contained in:
6543 2019-10-20 21:57:18 +02:00
parent a91c075ef2
commit 42678a3984
Signed by: 6543
GPG Key ID: A1CA74D27FD13271

View File

@ -5,8 +5,8 @@ public class Main {
public static void main(String[] args) { public static void main(String[] args) {


//supported versions; //supported versions;
String latest_version = "1.9.4"; String latest_version = "1.10.0";
String min_version = "1.8.3"; String min_version = "1.9.4";




System.out.println("\nMinimum Requred Version: " + min_version + " | Latest Stable Version: " + latest_version + "\n"); 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 ..."); System.out.println("Test Versions ...");
Version A = Version.check(min_version,latest_version,"1.9.4"); 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 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 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.9.4 = " + A.name());
System.out.println("1.10.0+dev-414-gf1fdd782d = " + B.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.8.1 = " + D.name());
System.out.println("1.10.0 = " + E.name()); System.out.println("1.9.0 = " + E.name());


System.out.println("..."); System.out.println("...");