From b2adcf3bf3a6326628b5413bddae2742073d8078 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Mon, 20 Apr 2015 22:48:53 +0200 Subject: Restructure test folders --- ManyFunctionsGenerator.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 ManyFunctionsGenerator.py (limited to 'ManyFunctionsGenerator.py') diff --git a/ManyFunctionsGenerator.py b/ManyFunctionsGenerator.py deleted file mode 100644 index b4f36af0..00000000 --- a/ManyFunctionsGenerator.py +++ /dev/null @@ -1,24 +0,0 @@ - -n = 100 - -splitNumBegin = 128 - (n / 2) -i = 1 - -template = """ - function right{0}(uint seed) returns (uint) {{ - var r = nextRand(seed); - if (r >= 2**{2}) - return right{1}(r); - return left{1}(r); - }} - - function left{0}(uint seed) returns (uint) {{ - var r = nextRand(nextRand(seed)); - if (r >= 2**{2}) - return left{1}(r); - return right{1}(r); - }} -""" - -for i in range(1, n): - print template.format(i, i + 1, i + splitNumBegin) \ No newline at end of file -- cgit v1.2.3