view test/Grids/tensor_grid_test.jl @ 1259:ee57bdb366e4 refactor/grids

Reorganize some EquidistantGrid tests and add test for IteratorSize and eachindex
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 23 Feb 2023 12:22:00 +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