-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted some more tests to edition 3
- Loading branch information
1 parent
92fdeeb
commit 572037f
Showing
7 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# We can set and get resource parameters | ||
|
||
Code | ||
params <- setResource(params, r_pp = r_pp, kappa = kappa, lambda = lambda, n = n, | ||
w_pp_cutoff = w_pp_cutoff) | ||
Message <simpleMessage> | ||
The resource intrinsic growth rate has been commented and therefore will not be recalculated from the resource parameters. | ||
The resource carrying capacity has been commented and therefore will not be recalculated from the resource parameters. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# steady works | ||
|
||
c("1" = 1.12523946834203, "2" = 0.378015488322643, "3" = 0.124113033074317, | ||
"4" = 0.0412195840646914) | ||
|
||
--- | ||
|
||
c("1" = 1.12523946834203, "2" = 0.378015488322643, "3" = 0.124113033074317, | ||
"4" = 0.0412195840646914) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
local_edition(3) | ||
# calibrateBiomass ---- | ||
test_that("calibrateBiomass works", { | ||
params <- NS_params | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
local_edition(3) | ||
|
||
test_that("compareParams", { | ||
local_reproducible_output() | ||
params <- NS_params | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters