keep true test in /test, move temporary tests in local

This commit is contained in:
Olivier Debeir
2012-10-16 14:40:42 +02:00
parent b6b202ae7b
commit e7e60a6cdb
9 changed files with 3 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
__author__ = 'olivier'
@@ -6,7 +6,7 @@ from skimage.morphology import dilation
import skimage.rank as rank
from skimage.filter import median_filter
from tools import log_timing
from skimage.rank.local.tools import log_timing
@log_timing
def cr_max(image,selem):
+1 -1
View File
@@ -66,7 +66,7 @@ class TestSequenceFunctions(unittest.TestCase):
def test_bitdepth(self):
# test the different bit depth for rank16
elem = np.ones((3,3),dtype='uint8')
a16 = np.ones((100,100),dtype='uint16')*255
r = _crank16_percentiles.mean(image=a16,selem = elem,shift_x=0,shift_y=0,p0=.1,p1=.9,bitdepth=8)