Skip to content

Commit

Permalink
Merge pull request #194 from jyutzler/ats45
Browse files Browse the repository at this point in the history
ATS for Req 45 #102 #193
  • Loading branch information
jyutzler committed Feb 15, 2016
2 parents 8284971 + 2ab63b3 commit 5a1e090
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/annexes/ats.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,24 @@ END;
|*Test Type* |Capability
|========================================

[cols="1,5a"]
|========================================
|*Test Case ID* |+/opt/tiles/gpkg_tile_matrix/data/data_values_width_height+
|*Test Purpose* |Verify that the tile matrix extents in gpkg_tile_matrix_set match the contents of the gpkg_tile_matrix table.
|*Test Method* |
. SELECT table_name AS <user_data_tiles_table> from gpkg_contents where data_type = ‘tiles’
. Not testable if returns an empty result set
. For each row from step 1
.. SELECT max_x - min_x from gpkg_tile_matrix_set where table_name = '<user_data_tiles_table>'
.. SELECT zoom_level, matrix_width * tile_width * pixel_x_size from gpkg_tile_matrix where table_name = '<user_data_tiles_table>'
.. SELECT max_y - min_y from gpkg_tile_matrix_set where table_name = '<user_data_tiles_table>'
.. SELECT zoom_level, matrix_height * tile_height * pixel_y_size from gpkg_tile_matrix where table_name = '<user_data_tiles_table>'
.. Fail if, for any zoom level, the difference for an axis does not equal the product for that axis at that zoom level
. Pass if no fails
|*Reference* |Clause 2.2.7.1.2 Req 45:
|*Test Type* |Capability
|========================================

[cols="1,5a"]
|========================================
|*Test Case ID* |+/opt/tiles/gpkg_tile_matrix/data/data_values_zoom_level+
Expand Down

0 comments on commit 5a1e090

Please sign in to comment.