Skip to content

Commit 5c5abd6

Browse files
committed
more tests
1 parent aa1b655 commit 5c5abd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NDTensors/src/lib/GradedAxes/test/test_dual.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ end
6161
ad = dual(a)
6262
@test ad isa GradedUnitRangeDual
6363
@test eltype(ad) == LabelledInteger{Int,U1}
64+
@test blocklengths(ad) isa Vector
65+
@test eltype(blocklengths(ad)) == eltype(blocklengths(a))
6466

6567
@test space_isequal(dual(ad), a)
6668
@test space_isequal(nondual(ad), a)

0 commit comments

Comments
 (0)