From 653e1d192997421be3d2ae28080f543abed7da7c Mon Sep 17 00:00:00 2001 From: Markus Stoll Date: Tue, 5 Dec 2023 10:57:13 +0100 Subject: [PATCH] script folder --- scripts/gemerate_test_data.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/gemerate_test_data.py diff --git a/scripts/gemerate_test_data.py b/scripts/gemerate_test_data.py new file mode 100644 index 0000000..b762d87 --- /dev/null +++ b/scripts/gemerate_test_data.py @@ -0,0 +1,7 @@ +"""script code to generate test data""" +import math + +if __name__ == "__main__": + for i in range(15): + sq_i = math.sqrt(i) + print(f"vtx{i:02d}, {(i % 2) == 0}, {(i % 3) == 0}, {i * i}, {sq_i}") \ No newline at end of file