We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b20975 commit bf103d0Copy full SHA for bf103d0
1 file changed
test/StdTest.jl
@@ -45,6 +45,16 @@ end
45
@test to_std_string(KrD(Lower(2), Upper(1))) == "Iᵀ"
46
end
47
48
+@testset "to_std_string output is correct with standard form Zero" begin
49
+ @test to_std_string(Zero(Upper(1))) == "vec(0)"
50
+ @test to_std_string(Zero(Lower(1))) == "vec(0)ᵀ"
51
+
52
+ @test to_std_string(Zero(Upper(1), Lower(2))) == "mat(0)"
53
+ @test to_std_string(Zero(Upper(2), Lower(1))) == "mat(0)"
54
+ @test to_std_string(Zero(Lower(1), Upper(2))) == "mat(0)ᵀ"
55
+ @test to_std_string(Zero(Lower(2), Upper(1))) == "mat(0)ᵀ"
56
+end
57
58
@testset "to_std_string output is correct with scalar-Monomial multiplication" begin
59
A = Monomial("A", Upper(1), Lower(2))
60
At = Monomial("A", Lower(1), Upper(2))
0 commit comments