diff --git a/src/main/java/org/gcube/dataanalysis/fin/taxamatch/SimpleTest.java b/src/main/java/org/gcube/dataanalysis/fin/taxamatch/SimpleTest.java new file mode 100644 index 0000000..46d2967 --- /dev/null +++ b/src/main/java/org/gcube/dataanalysis/fin/taxamatch/SimpleTest.java @@ -0,0 +1,24 @@ +package org.gcube.dataanalysis.fin.taxamatch; +import org.gcube.dataanalysis.taxamatch.fin.func_Taxamatch; + + + +public class SimpleTest { + + public static void main(String[] args) throws Exception{ + func_Taxamatch func = new func_Taxamatch(); + + String EQUAL = "EQUAL"; + String genus = "Gadus"; + String species = "morhua"; + String ip = "biodiversity.db.i-marine.research-infrastructures.eu"; + String user = "postgres"; + String password = "0b1s@d4sc13nc3"; + String db = "fishbase"; + + String[] matches = func.func_Taxamatch(genus, species, EQUAL, EQUAL, ip, user, password, db); + + System.out.println("Match: "+matches[0]); + } + +}