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
cs1-25sp
project02
Commits
20793d87
Commit
20793d87
authored
2 months ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Update test_find_opposite_direction.py
parent
8e117e4a
Pipeline
#118946
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/1.B/test_find_opposite_shot.py
+1
-1
tests/1.B/test_find_opposite_shot.py
with
1 addition
and
1 deletion
+1
-1
tests/1.B/test_find_opposite_
direction
.py
→
tests/1.B/test_find_opposite_
shot
.py
View file @
20793d87
...
...
@@ -14,5 +14,5 @@ from tests.helpers.naming import apply_names
def
test_find_opposite_shot
(
input1
,
input2
,
expected
):
result
=
find_opposite_shot
(
input1
,
input2
)
assert
expected
==
result
,
(
f
"On an 8x8 board, the following inputs to the "
f
"find_opposite_
direction
function:
\n
{
input
s
}
\n
lead to the "
f
"find_opposite_
shot
function:
\n
{
input
1
}
and
{
input2
}
\n
lead to the "
f
"following output:
\n
{
result
}
\n
when we expect:
\n
{
expected
}
."
)
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