Skip to content

Commit 1a5d986

Browse files
Update test to new table
Closes #35
1 parent e170888 commit 1a5d986

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

tests/testthat/test-dst_value_limit.R

+18-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,23 @@
44
context("dst_value_limit")
55

66
test_that("dst_value_limit returns the correct value.", {
7-
8-
expect_equal(dst_value_limit(query = list(CIVILSTAND = "*",
9-
STATSB = "*",
10-
HERKOMST = c("Personer med dansk oprindelse", "Efterkommere")),
11-
dst_meta = dst_meta("folk1", lang = "da")), 3318)
12-
13-
7+
8+
expect_equal(dst_value_limit(query = list(CIVILSTAND = "*",
9+
ALDER = "*",
10+
OMRÅDE = c(
11+
"Hele Landet",
12+
"København",
13+
"Dragør",
14+
"Albertslund",
15+
"Christiansø",
16+
"Køge",
17+
"Glostrup",
18+
"Faaborg-Midtfyn",
19+
"Holstebro",
20+
"Læsø"
21+
)),
22+
dst_meta = dst_meta("folk1a", lang = "da")), 6350)
23+
24+
1425
})
1526

0 commit comments

Comments
 (0)