Skip to content

Commit

Permalink
Update BitStringAddresses.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Skuwar1 authored Jun 14, 2024
1 parent d5bd54f commit 042551b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/BitStringAddresses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,11 @@ end
ffs1 = FermiFS{1,4}(1,0,0,0)
ffsend = FermiFS{1,4}(0,0,0,1)

@test hopnextneighbour(ffs1,2, Val(:twisted)) == (ffsend, -1.0)
@test hopnextneighbour(ffsend,1, Val(:twisted)) == (ffs1, -1.0)
@test hopnextneighbour(ffs1,2, Val(:hard_wall)) == (ffsend, 0.0)
@test hopnextneighbour(ffsend,1, Val(:hard_wall)) == (ffs1, 0.0)
@test hopnextneighbour(ffs1,2) == (ffsend, 1.0)
@test hopnextneighbour(ffsend,1) == (ffs1, 1.0)
@test hopnextneighbour(ffs1,2, :twisted) == (ffsend, -1.0)
@test hopnextneighbour(ffsend,1, :twisted) == (ffs1, -1.0)
@test hopnextneighbour(ffs1,2, :hard_wall) == (ffsend, 0.0)
@test hopnextneighbour(ffsend,1, :hard_wall) == (ffs1, 0.0)
@test hopnextneighbour(ffs1,2, :periodic) == (ffsend, 1.0)
@test hopnextneighbour(ffsend,1, :periodic) == (ffs1, 1.0)

end

0 comments on commit 042551b

Please sign in to comment.