Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assignment-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
WS-17-18
assignment-tests
Commits
d5b67b3a
Commit
d5b67b3a
authored
Mar 22, 2018
by
Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve statistics
parent
f632a91a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/final_assignment/task_2/Assignment2TestBase.java
src/final_assignment/task_2/Assignment2TestBase.java
+1
-3
No files found.
src/final_assignment/task_2/Assignment2TestBase.java
View file @
d5b67b3a
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment