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-20wi
project01
Commits
62ea5bed
Commit
62ea5bed
authored
4 years ago
by
Archie Shahidullah
Browse files
Options
Download
Email Patches
Plain Diff
Update CaesarCipherSolverTests.java
parent
ba4f6404
1 merge request
!1
Update CaesarCipherSolverTests.java
Pipeline
#36416
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/project01/CaesarCipherSolverTests.java
+1
-1
tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java
with
1 addition
and
1 deletion
+1
-1
tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java
View file @
62ea5bed
...
...
@@ -93,7 +93,7 @@ class CaesarCipherSolverTests {
@ValueSource
(
strings
=
{
""
,
"HI"
,
"HI THERE"
,
"A B C D E F GGG"
,
"TRUTH IS NOT A DEMOCRACY"
,
DECLARATION
})
public
void
testSplitBySpaces
(
String
toSplit
)
{
List
<
String
>
list
=
CaesarCipherSolver
.
splitBySpaces
(
toSplit
);
assert
Equals
(
toSplit
.
trim
()
,
String
.
join
(
" "
,
list
)
)
;
assert
IterableEquals
(
Arrays
.
asList
(
toSplit
.
trim
()
.
split
(
" "
))
,
list
);
}
@Order
(
8
)
...
...
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