aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tausworthe.R10
-rw-r--r--Tausworthe.py6
2 files changed, 0 insertions, 16 deletions
diff --git a/Tausworthe.R b/Tausworthe.R
index d35622a..e4fe355 100644
--- a/Tausworthe.R
+++ b/Tausworthe.R
@@ -43,13 +43,3 @@ taus.randi <- function(t)
{
return(t$randi())
}
-
-test.randi <- function()
-{
- t <- TauswortheRNG(seed=112339)
- for (i in 1:1000000) {
- cat(t$randi(), "\n")
- }
-}
-
-test.randi()
diff --git a/Tausworthe.py b/Tausworthe.py
index f61fc70..303f358 100644
--- a/Tausworthe.py
+++ b/Tausworthe.py
@@ -14,9 +14,3 @@ class TauswortheRNG(object):
def rand(self):
return self.randi() * 2.3283064365387e-10
-
-
-if __name__ == '__main__':
- t = TauswortheRNG(112339)
- for i in range(1000000):
- print(t.randi())