From aba5da7c066603555d845341482085d8d6794083 Mon Sep 17 00:00:00 2001 From: Daniel Wilczak Date: Mon, 12 Oct 2020 17:07:48 -0400 Subject: [PATCH] Remove useless folder and file --- src/initialization/gene_creation/gene_random.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/initialization/gene_creation/gene_random.py diff --git a/src/initialization/gene_creation/gene_random.py b/src/initialization/gene_creation/gene_random.py deleted file mode 100644 index dbcc874..0000000 --- a/src/initialization/gene_creation/gene_random.py +++ /dev/null @@ -1,13 +0,0 @@ -# Imported library -import random - -def check_values(low,high): - #Check to make sure its not less then zero - assert low > 0 , "The random gene low can not be less then zero" - # Check to make sure the high value is not - # lower than or equal to low and not 0. - assert high > low , "High value can not be smaller then low value" - assert high != 0, "High value can not be zero" - -def random_gene(): - return random.randint(1,100)