Skip to content

Commit 14a4c2b

Browse files
committed
Fix tests for changes to exports
1 parent 73812a9 commit 14a4c2b

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

test/base/test_fermions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using ITensors, Test
22
import ITensors: Out, In
3-
using ITensors.SiteTypes: siteinds
3+
using ITensors.SiteTypes: op, siteinds
44

55
@testset "Fermions" begin
66
ITensors.enable_auto_fermion()

test/base/test_phys_site_types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using ITensors, LinearAlgebra, Test
2-
using ITensors.SiteTypes: siteind, siteinds
2+
using ITensors.SiteTypes: has_fermion_string, op, siteind, siteinds, state
33

44
@testset "Physics Sites" begin
55
N = 10

test/base/test_sitetype.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
using ITensors, Test
2-
using ITensors.SiteTypes: siteind, siteinds
2+
using ITensors.SiteTypes:
3+
@OpName_str,
4+
@SiteType_str,
5+
@StateName_str,
6+
OpName,
7+
StateName,
8+
op,
9+
ops,
10+
siteind,
11+
siteinds,
12+
state
313

414
function is_unitary(U::ITensor; kwargs...)
515
s = noprime(filterinds(U; plev=1))

test/lib/Ops/test_ops.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ using Test
22
using ITensors
33
using LinearAlgebra
44

5-
using ITensors.Ops #: Scaled, Prod, Sum, expand
6-
using ITensors.SiteTypes: siteinds
5+
using ITensors.Ops: Ops, Op, OpSum, Prod, Scaled, Sum, coefficient, expand
6+
using ITensors.SiteTypes: op, siteinds
77

88
function heisenberg(N)
99
os = Sum{Op}()

test/lib/Ops/test_trotter.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Test
22
using ITensors
3-
using ITensors.Ops
3+
using ITensors.Ops: Op, Prod, Sum, Trotter
44
using ITensors.SiteTypes: siteinds
55

66
@testset "Simple trotterization" begin

0 commit comments

Comments
 (0)