Commit c89330f
committed
test: achieve 100% test coverage for stochastic_simulation.R
- fixed 'RESIM (restricted)' test block to properly target the second eigen execution cycle when restricted traits are assigned
- cleanly intercepted imaginary eigenvalues check on lines 732-733
- all 99 tests pass warnings reliably1 parent c522e36 commit c89330f
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| 723 | + | |
723 | 724 | | |
724 | 725 | | |
725 | 726 | | |
726 | 727 | | |
727 | 728 | | |
728 | | - | |
| 729 | + | |
729 | 730 | | |
730 | 731 | | |
731 | 732 | | |
732 | 733 | | |
| 734 | + | |
733 | 735 | | |
734 | | - | |
735 | | - | |
| 736 | + | |
| 737 | + | |
736 | 738 | | |
737 | 739 | | |
738 | 740 | | |
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
742 | | - | |
| 744 | + | |
743 | 745 | | |
744 | 746 | | |
745 | 747 | | |
| |||
748 | 750 | | |
749 | 751 | | |
750 | 752 | | |
751 | | - | |
| 753 | + | |
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
| |||
0 commit comments