Skip to content

Commit 0bbfbe0

Browse files
committed
Add StaticArray known_first/last tests.
1 parent f404d70 commit 0bbfbe0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ using StaticArrays
88
@test ArrayInterface.ismutable(@MVector [1,2,3]) == true
99
@test ArrayInterface.ismutable(1:10) == false
1010
@test ArrayInterface.ismutable((0.1,1.0)) == false
11+
@test isone(ArrayInterface.known_first(typeof(StaticArrays.SOneTo(7))))
12+
@test ArrayInterface.known_last(typeof(StaticArrays.SOneTo(7))) == 7
1113

1214
using LinearAlgebra, SparseArrays
1315

0 commit comments

Comments
 (0)