Skip to content

Commit

Permalink
Change testset titles
Browse files Browse the repository at this point in the history
  • Loading branch information
jofrevalles committed Oct 31, 2024
1 parent 610bf02 commit 28e8594
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/TensorNetwork_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
end
end

@testset "TensorNetwork with tensors with equal indices" begin
@testset "TensorNetwork with tensors of equal indices" begin
A = Tensor(rand(2, 2), (:u, :w))
B = Tensor(rand(2, 2), (:u, :w))
tn = TensorNetwork([A, B])
Expand All @@ -503,7 +503,7 @@
@test issetequal(tensors(tn), [new_tensor, B])
end

@testset "Chain of replacements" begin
@testset "Sequence of replacements" begin
A = Tensor(zeros(2, 2), (:i, :j))
B = Tensor(zeros(2, 2), (:j, :k))
C = Tensor(zeros(2, 2), (:k, :l))
Expand All @@ -518,7 +518,7 @@
@test issetequal(tensors(tn), [new_tensor2, B, C])
end

@testset "Same Tensor in pair argument" begin
@testset "Replace with itself" begin
A = Tensor(rand(2, 2), (:i, :j))
B = Tensor(rand(2, 2), (:j, :k))
C = Tensor(rand(2, 2), (:k, :l))
Expand Down

0 comments on commit 28e8594

Please sign in to comment.