File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ using ADTypes
2
+ using Test
3
+
4
+ public_symbols = (
5
+ :AbstractMode ,
6
+ :ForwardMode ,
7
+ :ReverseMode ,
8
+ :ForwardOrReverseMode ,
9
+ :SymbolicMode ,
10
+ :mode ,
11
+ :Auto ,
12
+ # Sparse Automatic Differentiation
13
+ :dense_ad ,
14
+ # Sparsity detection
15
+ :sparsity_detector ,
16
+ :NoSparsityDetector ,
17
+ :KnownJacobianSparsityDetector ,
18
+ :KnownHessianSparsityDetector ,
19
+ # Matrix coloring
20
+ :coloring_algorithm ,
21
+ :NoColoringAlgorithm
22
+ )
23
+ @test public_symbols ⊆ names (ADTypes)
Original file line number Diff line number Diff line change 104
104
@testset " Miscellaneous" begin
105
105
include (" misc.jl" )
106
106
end
107
+ if VERSION >= v " 1.11.0-DEV.469"
108
+ @testset " Public" begin
109
+ include (" public.jl" )
110
+ end
111
+ end
107
112
end
You can’t perform that action at this time.
0 commit comments