You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2014/02/21 05:38:26 UTC

svn commit: r1570451 - /incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py

Author: joyce
Date: Fri Feb 21 04:38:25 2014
New Revision: 1570451

URL: http://svn.apache.org/r1570451
Log:
CLIMATE-332 - Add missing spatial rebin helper test

Modified:
    incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py

Modified: incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py?rev=1570451&r1=1570450&r2=1570451&view=diff
==============================================================================
--- incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py (original)
+++ incubator/climate/trunk/ocw-ui/backend/tests/test_processing.py Fri Feb 21 04:38:25 2014
@@ -113,6 +113,9 @@ class TestSpatialRebinHelpers(unittest.T
 
         new_lats, new_lons = bp._calculate_new_latlon_bins(eval_bounds, lat_step, lon_step)
 
+        self.assertTrue(numpy.array_equal(lats, new_lats))
+        self.assertTrue(numpy.array_equal(lons, new_lons))
+
 class TestFilePathCreation(unittest.TestCase):
     def setUp(self):
         self.full_evaluation = Evaluation(