Add Python script for test data + a generated list

Note: The first number is the number of entries to expect!
This commit is contained in:
karl 2020-10-06 13:13:20 +02:00
parent b05dd3538a
commit f6b897063c
2 changed files with 1000013 additions and 0 deletions

12
generate_testfiles.py Normal file
View File

@ -0,0 +1,12 @@
import random
num_iterations = 1000000
with open("testdata", "w") as file:
# Write the number of lines to expect
file.write("%s\n" % num_iterations)
# Write lots of random numbers
for i in range(0, num_iterations):
# Between 0 and the maximum of uint32
file.write("%s\n" % random.randint(0, 4294967295))

1000001
testdata Normal file

File diff suppressed because it is too large Load Diff