From 24fc66ad1e75af4cc150d59273038303aca293f4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 24 May 2015 14:05:03 +0200 Subject: [PATCH] update build no, re-enable test --- src/buildno.h | 2 +- src/laws.test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buildno.h b/src/buildno.h index 2d9565015..ad1fe771e 100644 --- a/src/buildno.h +++ b/src/buildno.h @@ -1,3 +1,3 @@ #define VERSION_MAJOR 3 -#define VERSION_MINOR 5 +#define VERSION_MINOR 6 #define VERSION_BUILD 0 diff --git a/src/laws.test.c b/src/laws.test.c index 987b27773..58cba3942 100644 --- a/src/laws.test.c +++ b/src/laws.test.c @@ -700,7 +700,7 @@ static void statistic_test(CuTest *tc, int peasants, int luck, int maxp, for (i = 0; i < 1000; ++i) { effect = peasant_luck_effect(peasants, luck, maxp, variance); CuAssertTrue(tc, min_value <= effect); -// broken CuAssertTrue(tc, max_value >= effect); + CuAssertTrue(tc, max_value >= effect); } }