Added default run to testing

This commit is contained in:
danielwilczak101
2020-11-03 14:18:37 -05:00
parent bfd4971f13
commit 0c6d8060a6

View File

@ -47,6 +47,15 @@ def test_initilization():
""" """
pass
def test_second():
def test_default():
# Create the Genetic algorithm
ga = EasyGA.GA()
assert 1 + 1 == 2
# Evolve the genetic algorithm
ga.evolve()
# Print your default genetic algorithm
ga.print_generation()
ga.print_population()
assert ga != None