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

Skip to content
Snippets Groups Projects
Commit 33701195 authored by dev's avatar dev
Browse files

minor changes to some tests

parent 7c0e82fa
No related branches found
No related tags found
No related merge requests found
package net.i2p.stat; package net.i2p.stat;
import java.io.ByteArrayInputStream;
import java.util.Properties; import java.util.Properties;
import junit.framework.TestCase; import junit.framework.TestCase;
...@@ -19,7 +20,7 @@ public class RateTest extends TestCase { ...@@ -19,7 +20,7 @@ public class RateTest extends TestCase {
byte data[] = buf.toString().getBytes(); byte data[] = buf.toString().getBytes();
Properties props = new Properties(); Properties props = new Properties();
props.load(new java.io.ByteArrayInputStream(data)); props.load(new ByteArrayInputStream(data));
Rate r = new Rate(props, "rate.test", true); Rate r = new Rate(props, "rate.test", true);
......
package net.i2p.stat; package net.i2p.stat;
public class SizeTest { public class SizeMeasure {
public static void main(String args[]) { public static void main(String args[]) {
testRateSize(100); //117KB testRateSize(100); //117KB
testRateSize(100000); // 4.5MB testRateSize(100000); // 4.5MB
......
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