We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4bcbcb commit ebaa378Copy full SHA for ebaa378
1 file changed
test/runtests.jl
@@ -27,7 +27,7 @@ using PythonCall
27
@test firstindex(w, 1) == 1
28
@test lastindex(w, 1) == 10
29
@test lastindex(w, 2) == 20
30
-
+ @test size(w[begin:2:end, begin:2:end]) == (5,10)
31
end
32
33
@testset "Write & Read Operations" begin
@@ -52,6 +52,7 @@ using PythonCall
52
@test firstindex(sub_w, 1) == 1
53
@test lastindex(sub_w, 1) == 5
54
@test lastindex(sub_w, 2) == 15
55
+ @test size(sub_w[begin:2:end, begin:2:end]) == (3,3)
56
57
# translate_by
58
tw = PyTensorStore.translate_by(w, 10, 20)
0 commit comments