Skip to content

Commit

Permalink
Start adding exports (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Jan 14, 2025
1 parent e5721c2 commit 4605dfc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "NamedDimsArrays"
uuid = "60cbd0c0-df58-4cb7-918c-6f5607b73fde"
authors = ["ITensor developers <[email protected]> and contributors"]
version = "0.3.4"
version = "0.3.5"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
2 changes: 2 additions & 0 deletions src/NamedDimsArrays.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module NamedDimsArrays

export NamedDimsArray, aligndims, named, nameddims

include("isnamed.jl")
include("randname.jl")
include("abstractnamedinteger.jl")
Expand Down
6 changes: 6 additions & 0 deletions test/basics/test_exports.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using NamedDimsArrays: NamedDimsArrays
using Test: @test, @testset
@testset "Test exports" begin
exports = [:NamedDimsArrays, :NamedDimsArray, :aligndims, :named, :nameddims]
@test issetequal(names(NamedDimsArrays), exports)
end

0 comments on commit 4605dfc

Please sign in to comment.