Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs2-19wi
lab09
Commits
9cd21dd5
Commit
9cd21dd5
authored
6 years ago
by
Adam Blank
Browse files
Options
Download
Plain Diff
Merge branch 'lab09testfix' into 'master'
Fix output of test See merge request
!3
parents
acad5e82
95935a07
master
patch-1
1 merge request
!3
Fix output of test
Pipeline
#10097
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/edu/caltech/cs2/lab09/BfsTest.java
+1
-1
tests/edu/caltech/cs2/lab09/BfsTest.java
with
1 addition
and
1 deletion
+1
-1
tests/edu/caltech/cs2/lab09/BfsTest.java
View file @
9cd21dd5
...
...
@@ -172,7 +172,7 @@ public class BfsTest {
String
out
=
capture
.
toString
().
replace
(
"\r\n"
,
"\n"
).
strip
();
String
sln
=
new
String
(
Files
.
readAllBytes
(
Paths
.
get
(
acceptablePath
)));
sln
=
sln
.
replace
(
"\r\n"
,
"\n"
).
strip
();
assertEquals
(
out
,
sln
,
"Output log is not correct. Solver is either not correct or not BFS."
);
assertEquals
(
sln
,
out
,
"Output log is not correct. Solver is either not correct or not BFS."
);
}
@Tag
(
"A"
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help