summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinternetlandlord <f.fredhenry@gmail.com>2022-10-21 16:45:51 +0000
committerinternetlandlord <f.fredhenry@gmail.com>2022-10-21 16:45:51 +0000
commite56f9839a344f743889589b802932c9e0d1dd1b2 (patch)
tree1ea738b97597d3c2ec2a36fbd54cecde4e609b64
parent61137618fcce80aeccd94098be3fab61be551d8e (diff)
Created a buildtest.sh file for automatically generating hardcoded CSVs
-rwxr-xr-xbuildtest.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/buildtest.sh b/buildtest.sh
new file mode 100755
index 0000000..e2e6ba7
--- /dev/null
+++ b/buildtest.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Build tester
+# runs the list-generator python script several times with hardcoded options
+# generates three of varying sizes
+
+# clear out the csv directory
+echo "\nCleaning up ~/csvs/..."
+rm ~/csvs/*
+
+# smallest
+./list-generator.py 100 100000 ~/csvs/hundred.csv
+
+# medium
+./list-generator.py 1000 100000 ~/csvs/thousand.csv
+
+# biggest
+./list-generator.py 10000 100000 ~/csvs/tenthousand.csv
+
+echo "\nHere are the generated lists:"
+ls ~/csvs/*