Built the population member gen function

This commit is contained in:
Connor
2021-09-22 22:21:00 -06:00
parent eaae54ac59
commit 80e352059e
7 changed files with 147 additions and 63 deletions

17
julia/test/outer_loop.jl Normal file
View 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