From 259ffdcc7945acda90d63d079ac9703ec8cb3da5 Mon Sep 17 00:00:00 2001 From: Oskar Taubert Date: Thu, 26 Oct 2023 18:36:58 +0200 Subject: [PATCH] started population integration tests --- tests/test_population.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/test_population.py diff --git a/tests/test_population.py b/tests/test_population.py new file mode 100644 index 00000000..7fc5da6e --- /dev/null +++ b/tests/test_population.py @@ -0,0 +1,19 @@ +from propulate.population import Individual + + +def test_individual(): + ind_map = { + "float1": 0.1, + "float2": 0.2, + "int1": 3, + "int2": 4, + "cat1": "e", + "cat2": "f", + } + + ind = Individual(ind_map) + print(ind) + + +def test_limits(): + raise