added srand to examples

This commit is contained in:
Lewis Van Winkle
2018-09-05 08:06:25 -05:00
parent 30da4ebf5a
commit 23f2a94216
4 changed files with 14 additions and 1 deletions

2
test.c
View File

@@ -258,7 +258,7 @@ int main(int argc, char *argv[])
{
printf("GENANN TEST SUITE\n");
srand(100);
srand(100); //Repeatable test results.
lrun("basic", basic);
lrun("xor", xor);