Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-cluster
Commits
24595a8f
Commit
24595a8f
authored
Sep 25, 2020
by
rusty1s
Browse files
fix test
parent
5d12a68a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_rw.py
test/test_rw.py
+1
-1
No files found.
test/test_rw.py
View file @
24595a8f
...
@@ -27,4 +27,4 @@ def test_rw(device):
...
@@ -27,4 +27,4 @@ def test_rw(device):
walk_length
=
4
walk_length
=
4
out
=
random_walk
(
row
,
col
,
start
,
walk_length
,
num_nodes
=
3
)
out
=
random_walk
(
row
,
col
,
start
,
walk_length
,
num_nodes
=
3
)
assert
out
.
tolist
()
==
[[
0
,
1
,
0
,
1
],
[
1
,
0
,
1
,
0
],
[
2
,
2
,
2
,
2
]]
assert
out
.
tolist
()
==
[[
0
,
1
,
0
,
1
,
0
],
[
1
,
0
,
1
,
0
,
1
],
[
2
,
2
,
2
,
2
,
2
]]
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