Tests pykaryote.utils.analysis.Analyzer.quick_read()
Tests are focused on calls where mode=’threshold’, which is used to gather data on how many generations it takes a metric to reach a threshold value.
Test coverage is very minimal.
Make sure the right number of blanks is reported.
Make sure complexity_avg is right.
Make sure the correct means are reported.
Make sure the resulting data is the right shape.
Test that data with varying length (number of generations) is handled correctly.
For simulations where a time or complexity limit is used instead of a generation limit.
Tests pykaryote.sim.environment.Environment.
Tests focus on correct creation of the environment grid.
Tests Environment._make_flat_grid()
Tests Environment._make_gaussian_grid()
Tests pykaryote.utils.environment_draw.
Tests the comparison.get_config() method, which reads comparison configuration files.
Tests comparison.get_config(), which reads a comparison config file.
Tests the saving and graphing of data about how long each organism spent in each chemical mound/gaussian.
Removes simulation data.
Tests plotting with a flat environment.
Since there are no gaussians, no data should be recorded, and the graph should be blank.
Test the plotting of time_spent_in_gaussian data.
Ensures that the time_spent_in_gaussian data file is correct.
Checks array dimensions. Checks that array sums to gv.generation_length.
Runs unit tests with a command line interface.