Skip to content
This repository was archived by the owner on Apr 21, 2020. It is now read-only.

Commit 790d5d7

Browse files
committed
Runs all possible test
1 parent a9a44f1 commit 790d5d7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

resources/tests/run-tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python3 generate.py
2+
python3 runner.py

resources/tests/select.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
def main():
66
outfile = open("test-queries.txt", "w")
7-
h = 100 / 23000
7+
#h = 100 / 23000
8+
h = 1.0
89
outfile.write("JOINLESS\n")
910
with open("joinless-queries.txt", "r") as infile:
1011
for line in infile:
1112
if random.random() < h:
1213
outfile.write(line)
13-
h = 500 / 700000
14+
#h = 500 / 700000
1415
outfile.write("NATURAL\n")
1516
with open("natural-queries.txt", "r") as infile:
1617
for line in infile:

0 commit comments

Comments
 (0)