mirror of
https://github.com/msberends/AMR.git
synced 2025-07-11 12:22:01 +02:00
addins and small improvements to microorganisms dataset
This commit is contained in:
@ -20,11 +20,10 @@ test_that("G-test works", {
|
||||
|
||||
# INDEPENDENCE
|
||||
|
||||
# this should always yield a p value of around 0
|
||||
x <- matrix(data = round(runif(4) * 100000, 0),
|
||||
ncol = 2,
|
||||
byrow = TRUE)
|
||||
expect_lt(g.test(x),
|
||||
0.0001)
|
||||
1)
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user