Verbesserung der FunNGenerator Tests für Signaturen.

This commit is contained in:
Etienne Zink 2022-04-05 20:07:10 +02:00
parent cd5fbac987
commit e2d76d314a

View File

@ -73,13 +73,13 @@ public class FunNGeneratorTest {
@Test
public void signature_IntInt(){
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), integerType);
assertEquals("LFun1$$Ljava$lang$Integer$_$Ljava$lang$Integer$_$;", classSignature);
assertEquals("LFun1$$Ljava$lang$Integer$_$Ljava$lang$Integer$_$<Ljava/lang/Integer;Ljava/lang/Integer;>;", classSignature);
}
@Test
public void signature_IntT(){
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), genericT);
assertEquals("LFun1$$Ljava$lang$Integer$_$LT$_$;", classSignature);
assertEquals("LFun1$$Ljava$lang$Integer$_$LT$_$<Ljava/lang/Integer;TT;>;", classSignature);
}
@Test