From 047fc9377e3725fa6385fe895c2f6c74afb4a92d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 10 Oct 2001 10:48:08 +0200
Subject: [PATCH] (main): Better output of entropy estimates at the end.

Rev: src/nettle/testsuite/yarrow-test.c:1.2
---
 testsuite/yarrow-test.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/testsuite/yarrow-test.c b/testsuite/yarrow-test.c
index cd9228e0..aff530eb 100644
--- a/testsuite/yarrow-test.c
+++ b/testsuite/yarrow-test.c
@@ -180,10 +180,13 @@ main(int argc, char **argv)
 
   fprintf(stderr, "\n\nseeded: %s\n", yarrow.seeded ? "yes": "no");
   
-  fprintf(stderr, "source 0 entropy: %d\n",
-          sources[0].estimate[YARROW_SLOW]);
-  fprintf(stderr, "source 1 entropy: %d\n",
-          sources[1].estimate[YARROW_SLOW]);
-  
+  fprintf(stderr, "source 0, (fast, slow) entropy: (%d, %d)\n",
+          sources[0].estimate[YARROW_FAST],
+          sources[0].estimate[YARROW_SLOW]); 
+
+  fprintf(stderr, "source 1, (fast, slow) entropy: (%d, %d)\n",
+          sources[1].estimate[YARROW_FAST],
+          sources[1].estimate[YARROW_SLOW]); 
+
   return EXIT_SUCCESS;
 }
-- 
GitLab