|
30 | 30 |
|
31 | 31 | @testset "MPSMatrixCopy" begin |
32 | 32 | Ts = collect(values(MPS.jl_mps_to_typ)) |
33 | | - Ts = Ts[.!(Ts .<: IGNORE_UNION)] |
34 | | - @testset "$T" for T in Ts |
35 | | - for dim in ((16,16), (10,500), (500,10), (256,512)) |
36 | | - srcMat = MtlArray(rand(T, dim)) |
| 33 | + @testset "$T: $dim" for T in Ts, dim in ((16,16), (10,500), (500,10), (256,512)) |
| 34 | + srcMat = MtlArray(rand(T, dim)) |
37 | 35 |
|
38 | | - dstMat = copytest(srcMat, false, false) |
39 | | - @test dstMat == srcMat |
| 36 | + dstMat = copytest(srcMat, false, false) |
| 37 | + @test dstMat == srcMat broken=(T <: IGNORE_UNION) |
40 | 38 |
|
41 | | - dstMat = copytest(srcMat, true, false) |
42 | | - @test dstMat == srcMat' |
| 39 | + dstMat = copytest(srcMat, true, false) |
| 40 | + @test dstMat == srcMat' broken=(T <: IGNORE_UNION) |
43 | 41 |
|
44 | | - dstMat = copytest(srcMat, false, true) |
45 | | - @test dstMat == srcMat' |
| 42 | + dstMat = copytest(srcMat, false, true) |
| 43 | + @test dstMat == srcMat' broken=(T <: IGNORE_UNION) |
46 | 44 |
|
47 | | - dstMat = copytest(srcMat, true, true) |
48 | | - @test dstMat == srcMat |
49 | | - end |
| 45 | + dstMat = copytest(srcMat, true, true) |
| 46 | + @test dstMat == srcMat broken=(T <: IGNORE_UNION) |
50 | 47 | end |
51 | 48 | end |
0 commit comments