view test/Grids/tensor_grid_test.jl @ 1265:9c9ea2900250 refactor/grids

grid_refactor.md: Add question about target dim function
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 24 Feb 2023 20:47:56 +0100
parents c150eabaf656
children a4ddae8b5d49
line wrap: on
line source

using Sbplib.Grids
using Test

@testset "TensorGrid" begin
    @test_broken false


    @testset "restrict" begin
        @test_broken restrict(g, 1:2) == nothing
        @test_broken restrict(g, 2:3) == nothing
        @test_broken restrict(g, [1,3]) == nothing
        @test_broken restrict(g, [2,1]) == nothing
    end
end