@@ -9,7 +9,7 @@ module TestStates
99 using Test, TestExtras
1010 using MPSKit
1111 using MPSKit: _transpose_front, _transpose_tail
12- using MPSKit: GeometryStyle, FiniteStyle, InfiniteStyle, WindowStyle
12+ using MPSKit: GeometryStyle, FiniteChainStyle, InfiniteChainStyle, WindowChainStyle
1313 using MPSKit: TransferMatrix
1414 using TensorKit
1515 using TensorKit: ℙ
@@ -29,8 +29,8 @@ module TestStates
2929 @test isfinite (ψ)
3030 @test isfinite (typeof (ψ))
3131 @test isfinite (ψ) == isfinite (typeof (ψ))
32- @test GeometryStyle (typeof (ψ)) == FiniteStyle ()
33- @test GeometryStyle (ψ) == FiniteStyle ()
32+ @test GeometryStyle (typeof (ψ)) == FiniteChainStyle ()
33+ @test GeometryStyle (ψ) == FiniteChainStyle ()
3434 @test @constinferred physicalspace (ψ) == fill (d, L)
3535 @test all (x -> x ≾ D, @constinferred left_virtualspace (ψ))
3636 @test all (x -> x ≾ D, @constinferred right_virtualspace (ψ))
@@ -111,8 +111,8 @@ module TestStates
111111 @test ! isfinite (typeof (ψ))
112112 @test ! isfinite (ψ)
113113 @test isfinite (ψ) == isfinite (typeof (ψ))
114- @test GeometryStyle (typeof (ψ)) == InfiniteStyle ()
115- @test GeometryStyle (ψ) == InfiniteStyle ()
114+ @test GeometryStyle (typeof (ψ)) == InfiniteChainStyle ()
115+ @test GeometryStyle (ψ) == InfiniteChainStyle ()
116116
117117 @test eltype (ψ) == eltype (typeof (ψ))
118118
@@ -147,8 +147,8 @@ module TestStates
147147 ]; tol
148148 )
149149
150- @test GeometryStyle (typeof (ψ)) == InfiniteStyle ()
151- @test GeometryStyle (ψ) == InfiniteStyle ()
150+ @test GeometryStyle (typeof (ψ)) == InfiniteChainStyle ()
151+ @test GeometryStyle (ψ) == InfiniteChainStyle ()
152152
153153 @test ! isfinite (typeof (ψ))
154154
@@ -190,8 +190,8 @@ module TestStates
190190 # constructor 2 - used to take a "slice" from an infinite mps
191191 window_2 = WindowMPS (gs, 10 )
192192
193- @test GeometryStyle (typeof (window_1)) == WindowStyle ()
194- @test GeometryStyle (window_1) == WindowStyle ()
193+ @test GeometryStyle (typeof (window_1)) == WindowChainStyle ()
194+ @test GeometryStyle (window_1) == WindowChainStyle ()
195195 @test GeometryStyle (window_1) == GeometryStyle (window_2)
196196
197197 @test eltype (window_1) == eltype (typeof (window_1))
@@ -257,8 +257,8 @@ module TestStates
257257 ϕ₁ = LeftGaugedQP (rand, ψ)
258258 ϕ₂ = LeftGaugedQP (rand, ψ)
259259
260- @test GeometryStyle (ϕ₁) == FiniteStyle ()
261- @test GeometryStyle (typeof (ϕ₂)) == FiniteStyle ()
260+ @test GeometryStyle (ϕ₁) == FiniteChainStyle ()
261+ @test GeometryStyle (typeof (ϕ₂)) == FiniteChainStyle ()
262262
263263 @test @constinferred physicalspace (ϕ₁) == physicalspace (ψ)
264264 @test @constinferred left_virtualspace (ϕ₁) == left_virtualspace (ψ)
@@ -298,8 +298,8 @@ module TestStates
298298 ϕ₁ = LeftGaugedQP (rand, ψ)
299299 ϕ₂ = LeftGaugedQP (rand, ψ)
300300
301- @test GeometryStyle (ϕ₁) == InfiniteStyle ()
302- @test GeometryStyle (typeof (ϕ₂)) == InfiniteStyle ()
301+ @test GeometryStyle (ϕ₁) == InfiniteChainStyle ()
302+ @test GeometryStyle (typeof (ϕ₂)) == InfiniteChainStyle ()
303303
304304 @test @constinferred physicalspace (ϕ₁) == physicalspace (ψ)
305305 @test @constinferred left_virtualspace (ϕ₁) == left_virtualspace (ψ)
0 commit comments