Skip to content

Commit fb3f316

Browse files
authored
Start adding exports (#7)
1 parent a526711 commit fb3f316

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SymmetrySectors"
22
uuid = "f8a8ad64-adbc-4fce-92f7-ffe2bb36a86e"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.1.1"
4+
version = "0.1.3"
55

66
[deps]
77
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"

src/SymmetrySectors.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module SymmetrySectors
22

3+
export U1, Z, dual
4+
35
include("symmetry_style.jl")
46
include("abstractsector.jl")
57
include("sector_definitions/fib.jl")

test/test_exports.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using SymmetrySectors: SymmetrySectors
2+
using Test: @test, @testset
3+
@testset "Test exports" begin
4+
exports = [:SymmetrySectors, :U1, :Z, :dual]
5+
@test issetequal(names(SymmetrySectors), exports)
6+
end

0 commit comments

Comments
 (0)