Fix YKGenerator test - methods no longer static

This commit is contained in:
str4d
2012-03-16 04:51:55 +00:00
parent bf0b59b3b3
commit 136d77a8aa

View File

@ -372,8 +372,10 @@ public class ElGamalTest extends TestCase{
public void testYKGen(){
RandomSource.getInstance().nextBoolean();
I2PAppContext context = new I2PAppContext();
YKGenerator ykgen = new YKGenerator(context);
for (int i = 0; i < 5; i++) {
YKGenerator.getNextYK();
ykgen.getNextYK();
}
}
}
}