This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Lowest Points test
Bob Booth edited this page May 22, 2018
·
2 revisions
Tool Tested: Lowest Points Test Name: LowestPointsTestCase.testLowestPointsSimple
Feature: Simple Test for Lowest Points
Scenario: Run a simple version of Lowest Points
Given we run Lowest Points
When the Input Area is a polygon
When the Input Surface is a GRID
Then we can test to see if the featureclass has been created
Then we can test to see if the expected amount of features are created
Feature: Simple Test for Lowest Points no input area
Scenario: Run a simple version of Lowest Points but forget to specify area
Given we run Lowest Points
When the Input Area is not specified
When the Input Surface is a GRID
Then we can test to see if an error message is returned specifying that an input area is required
#### Test Case Location
https://github.com/Esri/military-tools-geoprocessing-toolbox/blob/dev/utils/test/visibility_tests/LowestPointsTestCase.py
#### Test Data Location
https://github.com/Esri/military-tools-geoprocessing-toolbox/testdata/Elevation/Source
#### Future Test Ideas
* Check for input area not completely covered by DEM
* Check for multiple input areas
* Check for multiple input raster types
* Check for input TIN rather than raster