@@ -2,11 +2,10 @@ using Test: @test, @testset
22
33using TensorProducts: ⊗
44using BlockArrays: blockedrange, blocklength, blocklengths
5- using TensorAlgebra: tuplemortar
5+ using TensorAlgebra: trivial_axis, tuplemortar
66
77using FusionTensors:
88 FusionTensorAxes,
9- dummy_axis,
109 ndims_domain,
1110 ndims_codomain,
1211 codomain_axes,
@@ -21,10 +20,6 @@ using GradedArrays:
2120
2221@testset " misc FusionTensors.jl" begin
2322 g1 = gradedrange ([U1 (0 ) => 1 ])
24- @test space_isequal (dummy_axis (), gradedrange ([TrivialSector () => 1 ]))
25- @test space_isequal (dummy_axis (U1), g1)
26- @test space_isequal (dummy_axis (typeof (SU2 (1 ))), gradedrange ([SU2 (0 ) => 1 ]))
27-
2823 @test promote_sector_type (U1 (1 ), U1 (1 )) === typeof (U1 (1 ))
2924 @test promote_sector_type (g1, U1 (1 )) === typeof (U1 (1 ))
3025 @test promote_sector_type (g1, g1) === typeof (U1 (1 ))
8075 @test all (map (r -> space_isequal (r, g2b), domain_axes (fta)))
8176 @test space_isequal (codomain_axis (fta), g2 ⊗ g2)
8277 @test space_isequal (domain_axis (fta), dual (g2 ⊗ g2))
83- @test space_isequal (dummy_axis (fta), dummy_axis (typeof (s2)))
78+ @test space_isequal (trivial_axis (fta), trivial_axis (typeof (s2)))
8479
8580 @test fta == fta
8681 @test copy (fta) == fta
10297 @test sector_type (fta) == TrivialSector
10398
10499 @test codomain_axes (fta) == ()
105- @test space_isequal (codomain_axis (fta), dummy_axis ( ))
100+ @test space_isequal (codomain_axis (fta), trivial_axis (TrivialSector ))
106101 @test domain_axes (fta) == ()
107- @test space_isequal (domain_axis (fta), dual (dummy_axis ( )))
102+ @test space_isequal (domain_axis (fta), dual (trivial_axis (TrivialSector )))
108103end
0 commit comments