Skip to content

Commit

Permalink
kontrola katastrů na prahu jako celek
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacko committed Jul 7, 2024
1 parent 46f0007 commit 8b30577
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-3-integrace.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ test_that("integrace", {
expect_equal(sum(st_area(subset(volebni_okrsky("high"), ObecKod == "554782"))),
st_area(subset(obce_polygony(), NAZ_OBEC == "Praha")), tolerance = 1/1000)

# pražské katastry odpovídají Praze městu
expect_equal(sum(st_area(filter(katastry(), NAZ_OBEC == "Praha"))),
st_area(subset(obce_polygony(), NAZ_OBEC == "Praha")), tolerance = 1/1000)


# Kramářova vila je v Praze / obci, orp, okresu i kraji

Expand Down

0 comments on commit 8b30577

Please sign in to comment.