forked from github/server
update build no, re-enable test
This commit is contained in:
parent
06a908a702
commit
24fc66ad1e
|
@ -1,3 +1,3 @@
|
||||||
#define VERSION_MAJOR 3
|
#define VERSION_MAJOR 3
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 6
|
||||||
#define VERSION_BUILD 0
|
#define VERSION_BUILD 0
|
||||||
|
|
|
@ -700,7 +700,7 @@ static void statistic_test(CuTest *tc, int peasants, int luck, int maxp,
|
||||||
for (i = 0; i < 1000; ++i) {
|
for (i = 0; i < 1000; ++i) {
|
||||||
effect = peasant_luck_effect(peasants, luck, maxp, variance);
|
effect = peasant_luck_effect(peasants, luck, maxp, variance);
|
||||||
CuAssertTrue(tc, min_value <= effect);
|
CuAssertTrue(tc, min_value <= effect);
|
||||||
// broken CuAssertTrue(tc, max_value >= effect);
|
CuAssertTrue(tc, max_value >= effect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue