From 042551b53009b314c0298e601626d8e649ba52d3 Mon Sep 17 00:00:00 2001 From: Skuwar1 <168614969+Skuwar1@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:54:18 +1200 Subject: [PATCH] Update BitStringAddresses.jl --- test/BitStringAddresses.jl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/BitStringAddresses.jl b/test/BitStringAddresses.jl index a15d6d7cf..0ba8c6b99 100644 --- a/test/BitStringAddresses.jl +++ b/test/BitStringAddresses.jl @@ -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