From 4b26eeda656c93ae240f5ffded01bd669b4a49b6 Mon Sep 17 00:00:00 2001 From: John Krauss Date: Tue, 12 Jul 2016 15:33:26 -0400 Subject: [PATCH] fix to correct segment for testarea area --- src/pg/test/sql/41_observatory_augmentation_test.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pg/test/sql/41_observatory_augmentation_test.sql b/src/pg/test/sql/41_observatory_augmentation_test.sql index ff4f822..763231a 100644 --- a/src/pg/test/sql/41_observatory_augmentation_test.sql +++ b/src/pg/test/sql/41_observatory_augmentation_test.sql @@ -172,7 +172,7 @@ SELECT cdb_observatory.OBS_GetCategory( -- Poly-based OBS_GetCategory SELECT cdb_observatory.OBS_GetCategory( - cdb_observatory._TestArea(), 'us.census.spielman_singleton_segments.X10') = 'Low income, mix of minorities' As obs_getcategory_polygon; + cdb_observatory._TestArea(), 'us.census.spielman_singleton_segments.X10') = 'Wealthy, urban without Kids' As obs_getcategory_polygon; -- Point-based OBS_GetPopulation, default normalization (area) SELECT (abs(OBS_GetPopulation - 10923.093200390833950) / 10923.093200390833950) < 0.001 As OBS_GetPopulation FROM @@ -201,7 +201,7 @@ SELECT cdb_observatory.OBS_GetUSCensusCategory( -- Area-based OBS_GetUSCensusCategory SELECT cdb_observatory.OBS_GetUSCensusCategory( - cdb_observatory._testarea(), 'Spielman-Singleton Segments: 10 Clusters') = 'Low income, mix of minorities' As OBS_GetUSCensusCategory_polygon; + cdb_observatory._testarea(), 'Spielman-Singleton Segments: 10 Clusters') = 'Wealthy, urban without Kids' As OBS_GetUSCensusCategory_polygon; -- OBS_GetMeasureById tests