Mercurial > repos > public > sbplib_julia
diff test/LazyTensors/tuple_manipulation_test.jl @ 1225:6567e38b05ca refactor/LazyTensors/tuple_manipulation
Replace flatten_tuple with concatenate_tuple
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 18 Feb 2023 12:24:44 +0100 |
parents | 5bfb182e24dc |
children | 06b983f0d236 |
line wrap: on
line diff
--- a/test/LazyTensors/tuple_manipulation_test.jl Sat Feb 18 12:18:34 2023 +0100 +++ b/test/LazyTensors/tuple_manipulation_test.jl Sat Feb 18 12:24:44 2023 +0100 @@ -95,14 +95,6 @@ @test LazyTensors.concatenate_tuples((1,2,3),(4,5),(6,7)) == (1,2,3,4,5,6,7) end -@testset "flatten_tuple" begin - @test LazyTensors.flatten_tuple((1,)) == (1,) - @test LazyTensors.flatten_tuple((1,2,3,4,5,6)) == (1,2,3,4,5,6) - @test LazyTensors.flatten_tuple((1,2,(3,4),5,6)) == (1,2,3,4,5,6) - @test LazyTensors.flatten_tuple((1,2,(3,(4,5)),6)) == (1,2,3,4,5,6) - @test LazyTensors.flatten_tuple(((1,2),(3,4),(5,),6)) == (1,2,3,4,5,6) -end - @testset "left_pad_tuple" begin @test LazyTensors.left_pad_tuple((1,2), 0, 2) == (1,2) @test LazyTensors.left_pad_tuple((1,2), 0, 3) == (0,1,2)