Mercurial > repos > public > sbplib_julia
diff test/LazyTensors/tuple_manipulation_test.jl @ 1231:de6a9635f293 refactor/LazyTensors/tuple_manipulation
Add docstring for concatenate_tuples
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 19 Feb 2023 12:14:43 +0100 |
parents | 8f4259fbd39c |
children | 66012b95fa7b |
line wrap: on
line diff
--- a/test/LazyTensors/tuple_manipulation_test.jl Sun Feb 19 11:45:48 2023 +0100 +++ b/test/LazyTensors/tuple_manipulation_test.jl Sun Feb 19 12:14:43 2023 +0100 @@ -34,9 +34,7 @@ @test_throws ArgumentError(err_msg) LazyTensors.split_tuple((1,2), (1,2)) @test_throws ArgumentError(err_msg) LazyTensors.split_tuple((1,2), (1)) - split_tuple_static(t, ::Val{SZS}) where {SZS} = LazyTensors.split_tuple(t,SZS) - @inferred split_tuple_static((1,2,3,4,5,6), Val((3,1,2))) @inferred split_tuple_static((1,2,3,4),Val((3,1))) @inferred split_tuple_static((1,2,true,4),Val((3,1)))