Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanjose committed Sep 27, 2024
1 parent 1162c86 commit f4b2601
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_greenfunction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ function testjosephson(g0)
J2 = josephson(g0[2], 4; phases = subdiv(0, pi, 10))
@test all(>=(0), Quantica.chopsmall.(J1()))
@test all(((j1, j2) -> (j1, j2, atol = 0.000001)).(J1(), J2()))
j = Quantica.integrand(J1)
@test Quantica.call!(j, 0.2+0.3im) isa Vector
end

@testset "greenfunction observables" begin
Expand Down

0 comments on commit f4b2601

Please sign in to comment.