@@ -256,7 +256,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
256256
257257 WHEN (" ProcessOutput is run on an organism with those inputs, The NOT of the first input, and ONLY_FIRST_TASK_CREDIT is 0" ){
258258 // The result of applying the NOT bitwise opeartions to the binary form of 734856699
259- int not_output = 3560110596 ;
259+ long not_output = 3560110596 ;
260260
261261 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,not_output,0 );
262262 THEN (" Organism should have 5 points" ){
@@ -290,7 +290,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
290290
291291 WHEN (" ProcessOutput is run on an organism with those inputs, The NAND of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
292292 // The result of applying the NAND bitwise opeartions to the binary form of 734856699 and 1177728054
293- int nand_output = 4261411789 ;
293+ long nand_output = 4261411789 ;
294294 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,nand_output,0 );
295295 THEN (" Organism should have 5 points" ){
296296 REQUIRE (host->GetPoints () == 5 );
@@ -320,7 +320,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
320320
321321 WHEN (" ProcessOutput is run on an organism with those inputs, The AND of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
322322 // The result of applying the AND bitwise opeartions to the binary form of 734856699 and 1177728054
323- int and_output = 33555506 ;
323+ long and_output = 33555506 ;
324324 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,and_output,0 );
325325 THEN (" Organism should have 5 points" ){
326326 REQUIRE (host->GetPoints () == 5 );
@@ -350,7 +350,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
350350
351351 WHEN (" ProcessOutput is run on an organism with those inputs, The ORN of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
352352 // The result of applying the ORN bitwise opeartions to the binary form of 734856699 and 1177728054
353- int orn_output = 3150794747 ;
353+ long orn_output = 3150794747 ;
354354 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,orn_output,0 );
355355 THEN (" Organism should have 5 points" ){
356356 REQUIRE (host->GetPoints () == 5 );
@@ -380,7 +380,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
380380
381381 WHEN (" ProcessOutput is run on an organism with those inputs, The OR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
382382 // The result of applying the OR bitwise opeartions to the binary form of 734856699 and 1177728054
383- int or_output = 1879029247 ;
383+ long or_output = 1879029247 ;
384384 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,or_output,0 );
385385 THEN (" Organism should have 5 points" ){
386386 REQUIRE (host->GetPoints () == 5 );
@@ -410,7 +410,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
410410
411411 WHEN (" ProcessOutput is run on an organism with those inputs, The ANDN of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
412412 // The result of applying the ANDN bitwise opeartions to the binary form of 734856699 and 1177728054
413- int andn_output = 701301193 ;
413+ long andn_output = 701301193 ;
414414 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,andn_output,0 );
415415 THEN (" Organism should have 5 points" ){
416416 REQUIRE (host->GetPoints () == 5 );
@@ -440,7 +440,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
440440
441441 WHEN (" ProcessOutput is run on an organism with those inputs, The NOR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
442442 // The result of applying the NOR bitwise opeartions to the binary form of 734856699 and 1177728054
443- int nor_output = 2415938048 ;
443+ long nor_output = 2415938048 ;
444444 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,nor_output,0 );
445445 THEN (" Organism should have 5 points" ){
446446 REQUIRE (host->GetPoints () == 5 );
@@ -470,7 +470,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
470470
471471 WHEN (" ProcessOutput is run on an organism with those inputs, The XOR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
472472 // The result of applying the XOR bitwise opeartions to the binary form of 734856699 and 1177728054
473- int xor_output = 1845473741 ;
473+ long xor_output = 1845473741 ;
474474 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,xor_output,0 );
475475 THEN (" Organism should have 5 points" ){
476476 REQUIRE (host->GetPoints () == 5 );
@@ -500,7 +500,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
500500
501501 WHEN (" ProcessOutput is run on an organism with those inputs, The EQU of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
502502 // The result of applying the EQU bitwise opeartions to the binary form of 734856699 and 1177728054
503- int equ_output = 2449493554 ;
503+ long equ_output = 2449493554 ;
504504 host->GetCPU ().state .world ->GetTaskSet ().ProcessOutput (host->GetCPU ().state ,equ_output,0 );
505505 THEN (" Organism should have 5 points" ){
506506 REQUIRE (host->GetPoints () == 5 );
@@ -531,7 +531,7 @@ TEST_CASE("ProcessOutput Functionality", "[proc]"){
531531}
532532
533533TEST_CASE (" WhichTaskDone Functionality" , " [sgp]" ){
534- emp::Random random (1 );
534+ emp::Random random (1 );
535535 SymConfigSGP config;
536536 config.SEED (1 );
537537 config.MUTATION_RATE (0.0 );
@@ -556,7 +556,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
556556
557557 WHEN (" WhichTaskDone is run on an organism with those inputs, The NOT of the first input, and ONLY_FIRST_TASK_CREDIT is 0" ){
558558 // The result of applying the NOT bitwise opeartions to the binary form of 734856699
559- int not_output = 3560110596 ;
559+ long not_output = 3560110596 ;
560560 THEN (" WhichTaskDone should return a 0" ){
561561 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,not_output,0 );
562562 REQUIRE (task_id == 0 );
@@ -565,7 +565,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
565565
566566 WHEN (" WhichTaskDone is run on an organism with those inputs, The NAND of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
567567 // The result of applying the NAND bitwise opeartions to the binary form of 734856699 and 1177728054
568- int nand_output = 4261411789 ;
568+ long nand_output = 4261411789 ;
569569 THEN (" WhichTaskDone should return a 1" ){
570570 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,nand_output,0 );
571571 REQUIRE (task_id == 1 );
@@ -574,7 +574,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
574574
575575 WHEN (" WhichTaskDone is run on an organism with those inputs, The AND of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
576576 // The result of applying the AND bitwise opeartions to the binary form of 734856699 and 1177728054
577- int and_output = 33555506 ;
577+ long and_output = 33555506 ;
578578 THEN (" WhichTaskDone should return a 2" ){
579579 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,and_output,0 );
580580 REQUIRE (task_id == 2 );
@@ -583,7 +583,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
583583
584584 WHEN (" WhichTaskDone is run on an organism with those inputs, The ORN of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
585585 // The result of applying the ORN bitwise opeartions to the binary form of 734856699 and 1177728054
586- int orn_output = 3150794747 ;
586+ long orn_output = 3150794747 ;
587587 THEN (" WhichTaskDone should return a 3" ){
588588 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,orn_output,0 );
589589 REQUIRE (task_id == 3 );
@@ -592,7 +592,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
592592
593593 WHEN (" WhichTaskDone is run on an organism with those inputs, The OR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
594594 // The result of applying the OR bitwise opeartions to the binary form of 734856699 and 1177728054
595- int or_output = 1879029247 ;
595+ long or_output = 1879029247 ;
596596 THEN (" WhichTaskDone should return a 4" ){
597597 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,or_output,0 );
598598 REQUIRE (task_id == 4 );
@@ -601,7 +601,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
601601
602602 WHEN (" WhichTaskDone is run on an organism with those inputs, The ANDN of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
603603 // The result of applying the ANDN bitwise opeartions to the binary form of 734856699 and 1177728054
604- int andn_output = 701301193 ;
604+ long andn_output = 701301193 ;
605605 THEN (" WhichTaskDone should return a 5" ){
606606 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,andn_output,0 );
607607 REQUIRE (task_id == 5 );
@@ -610,7 +610,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
610610
611611 WHEN (" WhichTaskDone is run on an organism with those inputs, The NOR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
612612 // The result of applying the NOR bitwise opeartions to the binary form of 734856699 and 1177728054
613- int nor_output = 2415938048 ;
613+ long nor_output = 2415938048 ;
614614 THEN (" WhichTaskDone should return a 6" ){
615615 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,nor_output,0 );
616616 REQUIRE (task_id == 6 );
@@ -619,7 +619,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
619619
620620 WHEN (" WhichTaskDone is run on an organism with those inputs, The XOR of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
621621 // The result of applying the XOR bitwise opeartions to the binary form of 734856699 and 1177728054
622- int xor_output = 1845473741 ;
622+ long xor_output = 1845473741 ;
623623 THEN (" WhichTaskDone should return a 7" ){
624624 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,xor_output,0 );
625625 REQUIRE (task_id == 7 );
@@ -628,7 +628,7 @@ TEST_CASE("WhichTaskDone Functionality", "[sgp]"){
628628
629629 WHEN (" WhichTaskDone is run on an organism with those inputs, The EQU of the two inputs, and ONLY_FIRST_TASK_CREDIT is 0" ){
630630 // The result of applying the EQU bitwise opeartions to the binary form of 734856699 and 1177728054
631- int equ_output = 2449493554 ;
631+ long equ_output = 2449493554 ;
632632 THEN (" WhichTaskDone should return a 8" ){
633633 int task_id = host->GetCPU ().state .world ->GetTaskSet ().WhichTaskDone (host->GetCPU ().state ,equ_output,0 );
634634 REQUIRE (task_id == 8 );
0 commit comments