Skip to content

Commit c15c507

Browse files
committed
Adding more tests
1 parent ef77eea commit c15c507

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/gallery_tests.jl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,21 @@ function gallery_tests(distribute,parts_per_dir)
5656
y = A*B[1]
5757
@test isa(y,PVector)
5858

59+
x = node_coordinates_unit_cube(nodes_per_dir,parts_per_dir,ranks,split_format=true)
60+
B = nullspace_linear_elasticity(x)
61+
@test isa(B[1],PVector)
62+
y = A*pones(axes(A,2))
63+
@test isa(y,PVector)
64+
B = nullspace_linear_elasticity(x,partition(axes(A,2)))
65+
@test isa(B[1],PVector)
66+
y = A*pones(axes(A,2))
67+
@test isa(Y,PVector)
68+
y = A*B[1]
69+
@test isa(y,PVector)
70+
nullspace_linear_elasticity!(B,x)
71+
y = A*B[1]
72+
@test isa(y,PVector)
73+
5974
end
6075

6176

0 commit comments

Comments
 (0)