Commit 0a3d5675 authored by Alexander's avatar Alexander

Improve statistics

parent 88d516da
......@@ -80,9 +80,7 @@ public class Assignment2TestBase extends TestBase {
try {
Socket socket = new Socket("vaelum.de", 12001);
PrintWriter out = new PrintWriter(socket.getOutputStream());
out.print("statistics\n");
out.flush();
out.print(percentage + "\n");
out.print(String.format("statistics\n%f\n%d\n", percentage, sum));
out.flush();
out.close();
socket.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment