Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Poppy Miller
sourceR
Commits
6b14e5ae
Commit
6b14e5ae
authored
Apr 12, 2017
by
Chris Jewell
Browse files
Changed tests to reflect interface update in last commit.
parent
7f671103
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/testthat/testHaldDP.R
View file @
6b14e5ae
...
...
@@ -89,7 +89,7 @@ test_that("HaldDP model construction", {
source
=
'Source'
)
k
=
Prev
(
k
,
prev
=
'Value'
,
source
=
'Source'
)
model
<-
HaldDP
$
new
(
model
<-
HaldDP
(
y
=
y
,
x
=
x
,
k
=
k
,
...
...
tests/testthat/testHaldDPTimeLoc.R
View file @
6b14e5ae
...
...
@@ -32,7 +32,7 @@ test_that("Test time/location data structures", {
y
=
Y
(
data
=
ss
,
y
=
'Human'
,
type
=
'Type'
,
time
=
'Time'
,
location
=
'Location'
)
x
=
X
(
data
=
src
,
x
=
'Count'
,
type
=
'Type'
,
time
=
'Time'
,
source
=
'Source'
)
k
=
Prev
(
sim_SA_prev
,
prev
=
'Value'
,
time
=
'Time'
,
source
=
'Source'
)
model
=
HaldDP
$
new
(
model
=
HaldDP
(
y
=
y
,
x
=
x
,
k
=
k
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment