diff --git a/.gitignore b/.gitignore index 0dba073..8cccf88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Manifest.toml .DS_Store /test/Manifest.toml +.vscode diff --git a/Project.toml b/Project.toml index 7c5d44f..99185e1 100644 --- a/Project.toml +++ b/Project.toml @@ -7,7 +7,7 @@ version = "0.1.0" Rimu = "c53c40cc-bd84-11e9-2cf4-a9fde2b9386e" [compat] -Rimu = "0.14" +Rimu = "0.14, 0.15" julia = "1.9" [extras] diff --git a/test/runtests.jl b/test/runtests.jl index ca832e3..74b1ffa 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -125,12 +125,14 @@ using RimuLegacyHamiltonians: bose_hubbard_2c_interaction @testset "2C Hamiltonian interface and structure" begin fs2c = BoseFS2C((1, 0, 1), (0, 1, 0)) hr = BoseHubbardReal1D2C(fs2c) - test_hamiltonian_interface(hr) - test_hamiltonian_structure(hr) - hm = BoseHubbardMom1D2C(fs2c) - test_hamiltonian_interface(hm) - test_hamiltonian_structure(hm) + ghr = GutzwillerSampling(hr; g=0.8) # test compatibility with ModifiedHamiltonian + ghm = GutzwillerSampling(hm; g=0.8) + + for h in (hr, hm, ghr, ghm) + test_hamiltonian_interface(h) + test_hamiltonian_structure(h) + end end @testset "2C model properties" begin