From 23cafb6b676e5779982b20ebb6bad4c996719ace Mon Sep 17 00:00:00 2001 From: Diego H Date: Mon, 26 Aug 2024 09:35:31 +0200 Subject: [PATCH] Add tests --- codemeta.json | 2 +- tests/testthat/_snaps/esp_getTiles/opaque.png | Bin 0 -> 702 bytes tests/testthat/_snaps/esp_getTiles/transp.png | Bin 0 -> 530 bytes tests/testthat/test-esp_getTiles.R | 74 +++++++++--------- tests/testthat/test-esp_get_munic.R | 3 +- 5 files changed, 39 insertions(+), 40 deletions(-) create mode 100644 tests/testthat/_snaps/esp_getTiles/opaque.png create mode 100644 tests/testthat/_snaps/esp_getTiles/transp.png diff --git a/codemeta.json b/codemeta.json index 38bf2501..b6c65d12 100644 --- a/codemeta.json +++ b/codemeta.json @@ -245,7 +245,7 @@ "applicationCategory": "cartography", "isPartOf": "https://ropenspain.es/", "keywords": ["rOpenSpain", "tiles", "r", "maps", "spatial", "rstats", "r-package", "municipalities", "Spain", "gisco", "provinces", "ign", "administrative-boundaries", "ccaa", "static-tiles", "spain", "cran", "ropenspain", "ggplot2", "gis"], - "fileSize": "2437.14KB", + "fileSize": "2436.708KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/tests/testthat/_snaps/esp_getTiles/opaque.png b/tests/testthat/_snaps/esp_getTiles/opaque.png new file mode 100644 index 0000000000000000000000000000000000000000..3e6572b6961fa6a4ef53703c352d1b0eadd6691a GIT binary patch literal 702 zcmds#T}x8|0EUkX#VjGZh*+?43@f9I2u7Is!5MQT2PemtiaM7J#6`oU%+9uO#@b3L z2jbKfvdwnUHjsH?DW=uQjgnFVD-Z%1=C%^&bj@UM>u+@NywCds9!nJ^&duTG5CoAc zsUWM<4*Vl~UwVg4jh?jDsw!y_I2>eUfyV=%4}k#r`6w)eP>7-;P!yz6&@^gm(a-?7 z90~qCD( ztX2#TVrU2>BN!cp!vUugE*Hke;C92~f!7PaACr@qp2qAf=H@Uzk3ayyAQl#|xQL}C zEH5JzLO6^_1korqHn6#gSPWZRh{v(BgG2(!B=+`@N&y(yf89+G8CD5dMr-XqKZ>h4 z8HY-xAB;y!)#sZz2c0(7&VEjmJjy(&ZeBkgfk-CXe%5p@C3*46@ZEj5{A%{uyor0C z{Ah$K|?Htem`XMN@CHP4R3GRxciS+}X}ehALK1U;3kC vDhrNnv*vGQH)ihmX`k@^^YNEYGXsfT4pUGQt(U#Fr-LLUB8v2t%Z+~l|Hxk7 literal 0 HcmV?d00001 diff --git a/tests/testthat/_snaps/esp_getTiles/transp.png b/tests/testthat/_snaps/esp_getTiles/transp.png new file mode 100644 index 0000000000000000000000000000000000000000..565ef3ac781a78f8e29bb5e62adbcf708a1a8ada GIT binary patch literal 530 zcmeAS@N?(olHy`uVBq!ia0vp^CqS5k8A#4*i(3Pv5(0ceT>mpL{O9BQFCg$=LE*oS z&VN0<{{{yCZEXJA+WvQN`0wTQKOo?LM8yA?nEwe0|5H-_7Zm(2Df!>f@V~3;|C~Ah zSFirRapV8}`~M$5{{O~}|M%|wzkmP#KK=jl<^TWxSGsLq$iTpu>*?YcQZeW4 zg}XtA3agis=;p7_D{smA