view test/Grids/tensor_grid_test.jl @ 1253:ff8f335c32d1 refactor/grids

Fix indexing with begin and end for EquidistantGrid
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 22 Feb 2023 12:53:16 +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