From f4a3b09992a66d5cc71f1511ae3bf302235bdf1a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 30 Jul 2015 15:31:04 +0200 Subject: remove test code --- Tausworthe.R | 10 ---------- Tausworthe.py | 6 ------ 2 files changed, 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()) -- cgit v1.2.3