Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

GRG From Area

Lyle Wright edited this page May 16, 2018 · 12 revisions

Tool Tested: GRG From Area Test Name: GRGCreateGRGFromAreaTestCase.testGRGAreaGRGSimple

Test #1 Case Description

Feature: Simple Test for GRG from Area

  Scenario: Run a simple version of GRG from Area
     Given we run GRG from Area
      When the cell width and cell height are 100
          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

Test #2 Case Description

Feature: Random cell width and height for GRG from Area

  Scenario: Run GRG from Area with random inputs for cell width and heights and numeric lables
     Given we run GRG from Area with random inputs for cell width and heights
      When the cell width and cell height are randomly created between 100 - 500 meters
          Then we can test the perimeter of each polygon
	  Then we can test numeric labels in the grid column against the oid column 

Test Case Location

https://github.com/Esri/military-tools-geoprocessing-toolbox/blob/dev/utils/test/grg_tests/GRGCreateGRGFromAreaTestCase.py

Future Test Ideas

  • Add bad test case of using a line
  • Check for random start points
  • Check for all label types
Clone this wiki locally