Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanjose committed Jan 30, 2025
1 parent 7bb89c5 commit fa602f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_hamiltonian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ end
h = LP.square() |> supercell(3, 2) |> hopping(1, range = 2)
@test_warn "Two modified hoppings have been wrapped into one" @torus(h, SA[2], ϕ)
h = LP.square() |> supercell(3, 3) |> hopping(1, range = 2)
@test_nowarn @torus(h, SA[2], ϕ)
= @test_nowarn @torus(h, SA[2], ϕ)
@test h(SA[0.2, 0.3]) (SA[0.2]; ϕ = 0.3)
end

@testset "hamiltonian HybridSparseMatrix" begin
Expand Down

0 comments on commit fa602f9

Please sign in to comment.