forked from I2P_Developers/i2p.i2p
Fix YKGenerator test - methods no longer static
This commit is contained in:
@ -372,8 +372,10 @@ public class ElGamalTest extends TestCase{
|
|||||||
|
|
||||||
public void testYKGen(){
|
public void testYKGen(){
|
||||||
RandomSource.getInstance().nextBoolean();
|
RandomSource.getInstance().nextBoolean();
|
||||||
|
I2PAppContext context = new I2PAppContext();
|
||||||
|
YKGenerator ykgen = new YKGenerator(context);
|
||||||
for (int i = 0; i < 5; i++) {
|
for (int i = 0; i < 5; i++) {
|
||||||
YKGenerator.getNextYK();
|
ykgen.getNextYK();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user