diff test_dataset.py @ 261:2b91638a11d3

small debugging with dummytests
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Tue, 03 Jun 2008 16:52:06 -0400
parents 792f81d65f82
children 6e69fb91f3c0
line wrap: on
line diff
--- a/test_dataset.py	Tue Jun 03 16:45:23 2008 -0400
+++ b/test_dataset.py	Tue Jun 03 16:52:06 2008 -0400
@@ -575,7 +575,7 @@
     dummytest3_fields_iterator_consistency(ds)
 
 
-def dummytest1_basicstats(self,ds) :
+def dummytest1_basicstats(ds) :
     """print basics stats on a dataset, like length"""
 
     print 'len(ds) = ',len(ds)
@@ -585,8 +585,8 @@
         print type(ds[0](k)[0]),
     print ''
 
-def dummytest2_slicing(self,ds) :
-    """test if slicing works properly"""
+def dummytest2_slicing(ds) :
+    """test if slicing seems to works properly"""
     print 'testing slicing...',
     sys.stdout.flush()
         
@@ -613,8 +613,8 @@
     print 'done'
 
 
-def dummytest3_fields_iterator_consistency(self,ds) :
-    """ check if the number of iterator corresponds to the number of fields"""
+def dummytest3_fields_iterator_consistency(ds) :
+    """test if the number of iterator corresponds to the number of fields, also do it for minibatches"""
     print 'testing fields/iterator consistency...',
     sys.stdout.flush()