aboutsummaryrefslogtreecommitdiffstats
path: root/ManyFunctionsGenerator.py
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-04-21 14:16:12 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-04-21 14:16:12 +0800
commit6bf24491b8022379cbb2c661d2e1dfa1333a9112 (patch)
tree1ce162a7485347eb3e097157fcb4c58ac1891987 /ManyFunctionsGenerator.py
parent6c146899e04041c90bf61aed325780b474f2224d (diff)
parente375612a7ecbab9ad33a6a40df1c722a82e07630 (diff)
downloaddexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar.gz
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar.bz2
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar.lz
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar.xz
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.tar.zst
dexon-solidity-6bf24491b8022379cbb2c661d2e1dfa1333a9112.zip
Merge branch 'develop' into cmake3.2.1
Conflicts: test/CMakeLists.txt
Diffstat (limited to 'ManyFunctionsGenerator.py')
-rw-r--r--ManyFunctionsGenerator.py24
1 files changed, 0 insertions, 24 deletions
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