I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 136d77a8 authored by str4d's avatar str4d
Browse files

Fix YKGenerator test - methods no longer static

parent bf0b59b3
No related branches found
No related tags found
No related merge requests found
...@@ -372,8 +372,10 @@ public class ElGamalTest extends TestCase{ ...@@ -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();
} }
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment