Mercurial > repos > public > sbplib_julia
diff test/testLazyTensors.jl @ 486:8082d43103c1 feature/compose_identity_mappings
Add TODOs relating to SizeMismatch
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 05 Nov 2020 10:49:49 +0100 |
parents | 4b49f03bdb98 |
children | cd509e57f898 df566372bb4f |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Thu Nov 05 10:49:27 2020 +0100 +++ b/test/testLazyTensors.jl Thu Nov 05 10:49:49 2020 +0100 @@ -177,6 +177,7 @@ @test_throws BoundsError (v1 +̃ v2)[4] v2 = [1., 2, 3, 4] # Test that size of arrays is asserted when not specified inbounds + # TODO: Replace these errors with SizeMismatch @test_throws DimensionMismatch v1 +̃ v2 # Test operations on LazyArray @@ -193,6 +194,7 @@ @test_throws BoundsError (v1 + v2)[4] v2 = [1., 2, 3, 4] # Test that size of arrays is asserted when not specified inbounds + # TODO: Replace these errors with SizeMismatch @test_throws DimensionMismatch v1 + v2 end