Built the population member gen function
This commit is contained in:
17
julia/test/outer_loop.jl
Normal file
17
julia/test/outer_loop.jl
Normal file
@@ -0,0 +1,17 @@
|
||||
@testset "Outer Loop" begin
|
||||
|
||||
using Dates
|
||||
|
||||
println("Testing Genetic Algorithm")
|
||||
|
||||
launch_range = [ DateTime(2016,3,28), DateTime(2019,3,28) ]
|
||||
target = "Saturn"
|
||||
deadline = DateTime(2028,12,31)
|
||||
|
||||
# First let's just test that we can generate a member of the population
|
||||
member = gen_decision_vector(launch_range, target, deadline)
|
||||
println(member)
|
||||
|
||||
@test typeof(member) == Vector{Phase}
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user