Skip to content

Commit aceca8c

Browse files
authored
Exports (#15)
1 parent 5429d78 commit aceca8c

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SparseArraysBase"
22
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.2.5"
4+
version = "0.2.6"
55

66
[deps]
77
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"

src/SparseArraysBase.jl

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
module SparseArraysBase
22

3+
export SparseArrayDOK,
4+
SparseMatrixDOK,
5+
SparseVectorDOK,
6+
eachstoredindex,
7+
isstored,
8+
storedlength,
9+
storedpairs,
10+
storedvalues
11+
312
include("abstractsparsearrayinterface.jl")
413
include("sparsearrayinterface.jl")
514
include("wrappers.jl")

test/basics/test_exports.jl

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using SparseArraysBase: SparseArraysBase
2+
using Test: @test, @testset
3+
@testset "Test exports" begin
4+
exports = [
5+
:SparseArraysBase,
6+
:SparseArrayDOK,
7+
:SparseMatrixDOK,
8+
:SparseVectorDOK,
9+
:eachstoredindex,
10+
:isstored,
11+
:storedlength,
12+
:storedpairs,
13+
:storedvalues,
14+
]
15+
@test issetequal(names(SparseArraysBase), exports)
16+
end

0 commit comments

Comments
 (0)