Skip to content

Commit 9f2cb92

Browse files
committed
Add tests
1 parent 1f641a4 commit 9f2cb92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test_unstored.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using SparseArraysBase: Unstored
2+
using FillArrays: Zeros
3+
using Test: @test, @testset
4+
5+
@testset "Unstored" begin
6+
a = Zeros(2, 2)
7+
u = Unstored(a)
8+
@test parent(u) a
9+
@test size(u) size(a)
10+
@test axes(u) axes(a)
11+
end

0 commit comments

Comments
 (0)