@@ -10,7 +10,7 @@ function test_description()
1010 end
1111
1212 # # Type stability test for adding descriptions using the is_inferred macro
13- # Needs JET
13+ # # Needs JET
1414 # @testset "Add Descriptions Type Stability" begin
1515 # @test_opt CTBase.add((), (:a,))
1616 # @test_inferred CTBase.add((), (:a,))
@@ -40,19 +40,20 @@ function test_description()
4040 (:descent , :gradient , :fixedstep )
4141 end
4242
43- # Type stability test for the complete function using the is_inferred macro
44- @testset " Complete Descriptions Type Stability" begin
45- algorithms = ()
46- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :bisection ))
47- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :backtracking ))
48- algorithms = CTBase. add (algorithms, (:descent , :bfgs , :fixedstep ))
49- algorithms = CTBase. add (algorithms, (:descent , :gradient , :bisection ))
50- algorithms = CTBase. add (algorithms, (:descent , :gradient , :backtracking ))
51- 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))
5253
53- @test_opt CTBase. complete ((:descent ,); descriptions= algorithms)
54- @test_inferred CTBase. complete ((:descent ,); descriptions= algorithms)
55- end
54+ # @test_opt CTBase.complete((:descent,); descriptions=algorithms)
55+ # @test_inferred CTBase.complete((:descent,); descriptions=algorithms)
56+ # end
5657
5758 # Test ambiguous or invalid description completions throw errors
5859 @testset " Ambiguous and Incorrect Description Errors" begin
@@ -89,7 +90,7 @@ function test_description()
8990
9091 # instead of @inferred, check if the type is a subtype of Tuple{Vararg{Symbol}}
9192 @test typeof (result) <: Tuple{Vararg{Symbol}}
92- @test_opt CTBase. remove (x, y)
93+ # @test_opt CTBase.remove(x, y)
9394 end
9495
9596 # Test completion with descriptions of different sizes and inclusion priority
0 commit comments