From 2ab63b3f80ec2cc3eaa02139e2f098392c2c8bd7 Mon Sep 17 00:00:00 2001 From: Jeff Yutzler Date: Mon, 18 Jan 2016 14:01:04 -0500 Subject: [PATCH] ATS for Req 35 #102 #193 --- spec/annexes/ats.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/spec/annexes/ats.adoc b/spec/annexes/ats.adoc index e4f015f9..e1deab23 100644 --- a/spec/annexes/ats.adoc +++ b/spec/annexes/ats.adoc @@ -770,6 +770,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 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 = '' +.. SELECT zoom_level, matrix_width * tile_width * pixel_x_size from gpkg_tile_matrix where table_name = '' +.. SELECT max_y - min_y from gpkg_tile_matrix_set where table_name = '' +.. SELECT zoom_level, matrix_height * tile_height * pixel_y_size from gpkg_tile_matrix where table_name = '' +.. 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+