Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ozekik committed Apr 2, 2024
1 parent 193bf27 commit f90645e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_cli.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ SET "plateaukit=python ..\plateaukit"

REM TODO: Test remote install
CALL %plateaukit% install plateau-30422-taiji-cho-2021 --force --local .\fixtures\30422_taiji-cho_2021_citygml_2_op.zip

CALL %plateaukit% generate-geojson --dataset plateau-30422-taiji-cho-2021 %USERPROFILE%\AppData\Local\Temp\output.geo.json
CALL %plateaukit% generate-cityjson --dataset plateau-30422-taiji-cho-2021 %USERPROFILE%\AppData\Local\Temp\output.city.json

CALL %plateaukit% generate-geojson --dataset plateau-30422-taiji-cho-2021 %USERPROFILE%\AppData\Local\Temp\output.city.jsonl --seq
CALL %plateaukit% generate-cityjson --dataset plateau-30422-taiji-cho-2021 %USERPROFILE%\AppData\Local\Temp\output.city.jsonl --seq

CALL %plateaukit% info plateau-30422-taiji-cho-2021
CALL %plateaukit% info plateau-28225-asago-shi-2022

Expand Down
6 changes: 6 additions & 0 deletions tests/test_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ plateaukit () {

# TODO: Test remote install
plateaukit install plateau-30422-taiji-cho-2021 --force --local ./fixtures/30422_taiji-cho_2021_citygml_2_op.zip

plateaukit generate-geojson --dataset plateau-30422-taiji-cho-2021 /tmp/output.geo.json
plateaukit generate-cityjson --dataset plateau-30422-taiji-cho-2021 /tmp/output.city.json

plateaukit generate-geojson --dataset plateau-30422-taiji-cho-2021 /tmp/output.geo.jsonl --seq
plateaukit generate-cityjson --dataset plateau-30422-taiji-cho-2021 /tmp/output.city.jsonl --seq

plateaukit info plateau-30422-taiji-cho-2021
plateaukit info plateau-28225-asago-shi-2022

0 comments on commit f90645e

Please sign in to comment.