mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-08-29 07:39:06 +00:00
Fix YKGenerator test - methods no longer static
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user