Skip to content

Commit

Permalink
Fixed errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Nov 18, 2023
1 parent 157027a commit 4940f07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/lattices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
@test all(x == Electrum.ANG2BOHR for x in lengths(b))
# eachvertex iterator
@test isequal(
Electrum._gen_vertices(reshape(1:69, 23, 3), 1:420),
Electrum._gen_vertices(1:69, reshape(1:420, 3, 35, 4))
Electrum._gen_vertices((reshape(1:69, 23, 3), 1:420)),
Electrum._gen_vertices((1:69, reshape(1:420, 3, 35, 4)))
)
@test collect(eachvertex([6 0; 0 9])) == vec(collect(eachvertex(SMatrix{2,2}(6, 0, 0, 1))))
@test collect(eachvertex([6 0; 0 9])) == vec(collect(eachvertex(SMatrix{2,2}(6, 0, 0, 9))))
result = SVector{3,Float64}[
[0, 0, 0], [1, 0, 0], [0, 2, 0], [1, 2, 0],
[0, 0, 3], [1, 0, 3], [0, 2, 3], [1, 2, 3]
Expand Down

0 comments on commit 4940f07

Please sign in to comment.