modified: ../../AllgemeinTest/Pair.jav

modified:   ../../../src/test/java/AllgemeinTest.java
This commit is contained in:
pl@gohorb.ba-horb.de 2023-03-08 16:51:48 +01:00
parent 62e022c2f7
commit 02e596ce7e
2 changed files with 5 additions and 3 deletions

View File

@ -12,16 +12,18 @@ class Pair<U, T> {
ret.b = x.elementAt(1); ret.b = x.elementAt(1);
return ret; return ret;
} }
/*
eq(a, b) { eq(a, b) {
b = a; b = a;
return a == b; return a == b;
} }
compare( p) { compare( p) {
return eq(p.a, p.b); return eq(p.a, p.b);
//return p.a == p.b; //return p.a == p.b;
} }
*/
/* /*
void m(Pair<?, ?> p, List<? extends Eq> b) void m(Pair<?, ?> p, List<? extends Eq> b)
{ {

View File

@ -52,9 +52,9 @@ public class AllgemeinTest {
//String className = "VectorNotObject"; //String className = "VectorNotObject";
//String className = "WildcardCaptureConversionTest"; //String className = "WildcardCaptureConversionTest";
//String className = "CaptureConversion"; //String className = "CaptureConversion";
//String className = "Pair"; String className = "Pair";
//String className = "UseWildcardPair"; //String className = "UseWildcardPair";
String className = "Assign"; //String className = "Assign";
//PL 2019-10-24: genutzt fuer unterschiedliche Tests //PL 2019-10-24: genutzt fuer unterschiedliche Tests
path = System.getProperty("user.dir")+"/resources/AllgemeinTest/" + className + ".jav"; path = System.getProperty("user.dir")+"/resources/AllgemeinTest/" + className + ".jav";
//path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/Overloading_Generics.jav"; //path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/Overloading_Generics.jav";