view test/Grids/tensor_grid_test.jl @ 1255:1989d432731a refactor/grids

Implement the interfaces for iteration and indexing on EquidistantGrid. Make collect() work
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 22 Feb 2023 22:38:25 +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