[Scipy-svn] r3503 - trunk/scipy/ndimage/tests

scipy-svn@scip... scipy-svn@scip...
Wed Nov 7 12:38:46 CST 2007


Author: oliphant
Date: 2007-11-07 12:38:45 -0600 (Wed, 07 Nov 2007)
New Revision: 3503

Modified:
   trunk/scipy/ndimage/tests/test_segment.py
Log:
Fix up tests before moving them.

Modified: trunk/scipy/ndimage/tests/test_segment.py
===================================================================
--- trunk/scipy/ndimage/tests/test_segment.py	2007-11-07 18:38:16 UTC (rev 3502)
+++ trunk/scipy/ndimage/tests/test_segment.py	2007-11-07 18:38:45 UTC (rev 3503)
@@ -120,8 +120,8 @@
         slice.tofile(filename)
 
 
-class TestSegmenter(NumpyTestCase):
-    def test_1(self):
+class TestSegment(NumpyTestCase):
+    def test1(self):
 	image = get_slice(filename)
 	sourceImage = image.copy()
 	edges, objects = sobel(image)
@@ -129,10 +129,10 @@
 	get_voxel_measures(sourceImage, edges, objects)
 	get_texture_measures(sourceImage, edges, objects)
 
-    def test_2(self):
+    def test2(self):
 	sourceImage, labeledMask, ROIList = segment_regions()
 
-    def test_3(self):
+    def test3(self):
 	regionMask, numberRegions = grow_regions()
 	regionMask.max()
 	#save_slice(regionMask, 'regionMask.raw')



More information about the Scipy-svn mailing list