Skip to content

Commit af20d98

Browse files
committed
comment some tests
1 parent 8d05796 commit af20d98

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

test/Project.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[deps]
22
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
CTBase = "54762871-cc72-4466-b8e8-f6c8b58076cd"
4-
CTDirect = "790bbbee-bee9-49ee-8912-a9de031322d5"
5-
CTParser = "32681960-a1b1-40db-9bff-a1ca817385d1"
64
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
75
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
86
NLPModelsIpopt = "f4238b75-b362-5c4c-b852-0801c9a21d71"
@@ -12,8 +10,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1210
[compat]
1311
Aqua = "0.8"
1412
CTBase = "0.16"
15-
CTDirect = "0.14"
16-
CTParser = "0.4"
1713
JLD2 = "0.5"
1814
JSON3 = "1"
1915
NLPModelsIpopt = "0.10"

test/runtests.jl

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ using Aqua
33
using CTBase
44
using CTModels
55

6-
using CTDirect
7-
using NLPModelsIpopt
8-
import CTParser: CTParser, @def
9-
CTParser.prefix!(:CTModels); # code generated by @def is prefixed by CTModels (not by OptimalControl - the default)
10-
116
#
127
include("solution_example.jl")
13-
include("solution_example_path_constraints.jl")
148

159
#
1610
@testset verbose = true showtiming = true "CTModels tests" begin
@@ -29,8 +23,6 @@ include("solution_example_path_constraints.jl")
2923
:init,
3024
:utils,
3125
:solution,
32-
:plot,
33-
:export_import,
3426
)
3527
@testset "$(name)" begin
3628
test_name = Symbol(:test_, name)
@@ -40,3 +32,28 @@ include("solution_example_path_constraints.jl")
4032
end
4133
end
4234
end
35+
36+
# test with CTDirect and CTParser
37+
38+
# using CTDirect
39+
# using NLPModelsIpopt
40+
# import CTParser: CTParser, @def
41+
# CTParser.prefix!(:CTModels); # code generated by @def is prefixed by CTModels (not by OptimalControl - the default)
42+
43+
# #
44+
# include("solution_example_path_constraints.jl")
45+
46+
47+
# @testset verbose = true showtiming = true "CTModels tests" begin
48+
# for name in (
49+
# :plot,
50+
# :export_import,
51+
# )
52+
# @testset "$(name)" begin
53+
# test_name = Symbol(:test_, name)
54+
# println("testing: ", string(name))
55+
# include("$(test_name).jl")
56+
# @eval $test_name()
57+
# end
58+
# end
59+
# end

0 commit comments

Comments
 (0)