forked from JavaTX/JavaCompilerCore
created unit test class
This commit is contained in:
parent
88b1c3e57c
commit
bd8a62cda7
32
test/unify/UnifyTest.java
Normal file
32
test/unify/UnifyTest.java
Normal file
@ -0,0 +1,32 @@
|
||||
package unify;
|
||||
|
||||
import org.apache.commons.bcel6.generic.ReferenceType;
|
||||
import org.junit.Test;
|
||||
|
||||
import de.dhbwstuttgart.bytecode.TypePlaceholderType;
|
||||
import de.dhbwstuttgart.syntaxtree.type.RefType;
|
||||
import de.dhbwstuttgart.syntaxtree.type.Type;
|
||||
import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;
|
||||
import de.dhbwstuttgart.typeinference.Pair;
|
||||
|
||||
public class UnifyTest {
|
||||
|
||||
@Test
|
||||
public void unifyTestSimpleTypes() {
|
||||
Type tph1 = TypePlaceholder.backdoorCreate("b");
|
||||
Type tph2 = TypePlaceholder.backdoorCreate("a");
|
||||
//Type refT = new RefType()
|
||||
|
||||
//Pair x = new Pair();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unifyTestInheritance() {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unifyTestWildcards() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user