Skip to content

Commit

Permalink
Added some docstrings to test_genalg
Browse files Browse the repository at this point in the history
  • Loading branch information
dshaw150 authored and dshaw150 committed Jan 4, 2019
1 parent 5240281 commit defd655
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_genalg.py
Expand Up @@ -91,8 +91,11 @@ def testSaveLoadState(self):


class TestGenAlg_Dan(unittest.TestCase):
"""Tests genetic algorithm's generate random functionality
"""
def test_nodes_in_domain(self):

"""Tests if the created nodes are in the desired range.
"""
# Create the Genetic Algorithm Object
ga = GenAlg(config)
ga.initialize_population(pop_size)
Expand Down

0 comments on commit defd655

Please sign in to comment.