Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 6, 2024
1 parent 4210789 commit 91db2f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ITensorMPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module ITensorMPS
using ITensorTDVP: TimeDependentSum, dmrg_x, linsolve, tdvp, to_vec
export TimeDependentSum, dmrg_x, linsolve, tdvp, to_vec
using ITensorTDVP: ITensorTDVP
alternating_update_dmrg(args...; kwargs...) = ITensorTDVP.dmrg(args...; kwargs...)
const alternating_update_dmrg = ITensorTDVP.dmrg
using ITensors.ITensorMPS: dmrg
export dmrg
end
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensorTDVP = "25707e16-a4db-4a07-99d9-4d67b7af0342"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@eval module $(gensym())
using ITensorMPS: ITensorMPS
using ITensorTDVP: ITensorTDVP
using Test: @test, @testset
@testset "ITensorMPS.jl" begin
@testset "exports" begin
Expand All @@ -18,5 +19,8 @@ using Test: @test, @testset
],
)
end
@testset "aliases" begin
@test ITensorMPS.alternating_update_dmrg === ITensorTDVP.dmrg
end
end
end

0 comments on commit 91db2f9

Please sign in to comment.