Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Enhance comment syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Sánchez Ramírez <15837247+mofeing@users.noreply.github.com>
  • Loading branch information
jofrevalles and mofeing authored Feb 16, 2024
1 parent a5a62a8 commit 65bc6bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/QrochetQuacExt_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
@test ninputs(qftqtn) == n
@test noutputs(qftqtn) == n
@test socket(qftqtn) == Operator()

# all open indices are sites
siteinds = getindex.((qftqtn,), sites(qftqtn))
@test issetequal(inds(TensorNetwork(qftqtn), :open), siteinds)

# all inner indices are not sites
notsiteinds = filter(idx -> idx siteinds, keys(TensorNetwork(qftqtn).indexmap))
@test issetequal(inds(TensorNetwork(qftqtn), :inner), notsiteinds)
Expand Down

0 comments on commit 65bc6bc

Please sign in to comment.