@@ -9,11 +9,12 @@ function test_description()
99 @test descriptions[2 ] == (:b ,)
1010 end
1111
12- # Type stability test for adding descriptions using the is_inferred macro
13- @testset " Add Descriptions Type Stability" begin
14- @test_opt CTBase. add ((), (:a ,))
15- @test_inferred CTBase. add ((), (:a ,))
16- end
12+ # # Type stability test for adding descriptions using the is_inferred macro
13+ # # Needs JET
14+ # @testset "Add Descriptions Type Stability" begin
15+ # @test_opt CTBase.add((), (:a,))
16+ # @test_inferred CTBase.add((), (:a,))
17+ # end
1718
1819 # Test building algorithm descriptions and completing partial descriptions
1920 @testset " Complete Descriptions with Algorithms" begin
@@ -39,19 +40,20 @@ function test_description()
3940 (:descent , :gradient , :fixedstep )
4041 end
4142
42- # Type stability test for the complete function using the is_inferred macro
43- @testset " Complete Descriptions Type Stability" begin
44- algorithms = ()
45- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :bisection ))
46- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :backtracking ))
47- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :fixedstep ))
48- algorithms = CTBase. add (algorithms, (:descent , :gradient , :bisection ))
49- algorithms = CTBase. add (algorithms, (:descent , :gradient , :backtracking ))
50- algorithms = CTBase. add (algorithms, (:descent , :gradient , :fixedstep ))
43+ # # Type stability test for the complete function using the is_inferred macro
44+ # # Needs JET
45+ # @testset "Complete Descriptions Type Stability" begin
46+ # algorithms = ()
47+ # algorithms = CTBase.add(algorithms, (:descent, :bfgs, :bisection))
48+ # algorithms = CTBase.add(algorithms, (:descent, :bfgs, :backtracking))
49+ # algorithms = CTBase.add(algorithms, (:descent, :bfgs, :fixedstep))
50+ # algorithms = CTBase.add(algorithms, (:descent, :gradient, :bisection))
51+ # algorithms = CTBase.add(algorithms, (:descent, :gradient, :backtracking))
52+ # algorithms = CTBase.add(algorithms, (:descent, :gradient, :fixedstep))
5153
52- @test_opt CTBase. complete ((:descent ,); descriptions= algorithms)
53- @test_inferred CTBase. complete ((:descent ,); descriptions= algorithms)
54- end
54+ # @test_opt CTBase.complete((:descent,); descriptions=algorithms)
55+ # @test_inferred CTBase.complete((:descent,); descriptions=algorithms)
56+ # end
5557
5658 # Test ambiguous or invalid description completions throw errors
5759 @testset " Ambiguous and Incorrect Description Errors" begin
@@ -88,7 +90,7 @@ function test_description()
8890
8991 # instead of @inferred, check if the type is a subtype of Tuple{Vararg{Symbol}}
9092 @test typeof (result) <: Tuple{Vararg{Symbol}}
91- @test_opt CTBase. remove (x, y)
93+ # @test_opt CTBase.remove(x, y)
9294 end
9395
9496 # Test completion with descriptions of different sizes and inclusion priority
0 commit comments