comparison test/Grids/equidistant_grid_test.jl @ 1413:410bc321242c bugfix/grids/complete_interface_impl

Add todo for colon-indexing and remove tests
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 23 Aug 2023 09:32:01 +0200
parents e56277744ebb
children 1aa8adbf13d5
comparison
equal deleted inserted replaced
1412:e56277744ebb 1413:410bc321242c
21 @test all(eachindex(g) .== 1:101) 21 @test all(eachindex(g) .== 1:101)
22 22
23 @test firstindex(g) == 1 23 @test firstindex(g) == 1
24 @test lastindex(g) == 101 24 @test lastindex(g) == 101
25 25
26 @test g[:] == g[1:101]
27
28 @test axes(g,1) == 1:101 26 @test axes(g,1) == 1:101
29 @test axes(g) == (1:101,) 27 @test axes(g) == (1:101,)
30 end 28 end
31 29
32 @testset "Iterator interface" begin 30 @testset "Iterator interface" begin