view test/Grids/tensor_grid_test.jl @ 1262:5e28ae42caf2 refactor/grids

Clean up IteratorSize and eltype for EquidistantGrid, Grid, and ZeroDimGrid
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 23 Feb 2023 22:29:36 +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