package plugindevelopment;

import java.util.Vector;

import org.junit.Test;

import de.dhbwstuttgart.typeinference.ConstraintPair;
import de.dhbwstuttgart.typeinference.ConstraintType;
import de.dhbwstuttgart.typeinference.ConstraintsSet;
import de.dhbwstuttgart.typeinference.KarthesischesProdukt;
import de.dhbwstuttgart.typeinference.OderConstraint;
import de.dhbwstuttgart.typeinference.SingleConstraint;

public class KarthesischesProduktTest {

	@Test
	public void test(){
		Vector<Vector<String>> testV = new Vector<>();
		Vector<String> dummy = new Vector<>();
		dummy.add("1");
		dummy.add("2");
		dummy.add("3");
		testV.add(dummy);
		testV.add(dummy);
		
		ConstraintsSet cs = new ConstraintsSet();
		OderConstraint oc = new OderConstraint();
		//oc.addConstraint(new SingleConstraint(new RefType("")));
		cs.add(oc);
		
		Vector out = new KarthesischesProdukt().berechneKarthesischesProdukt(testV);
		System.out.println(out);
	}
	
}
class TestConstraintPair extends ConstraintPair{

	public TestConstraintPair(ConstraintType t1, ConstraintType t2) {
		super(t1, t2);
		// TODO Auto-generated constructor stub
	}
	
}