# HG changeset patch # User Thierry Bertin-Mahieux # Date 1212526326 14400 # Node ID 2b91638a11d3fa77594ec9ca4fb787e548e62dac # Parent 792f81d65f82de1b39bb209dcf56c05e9cc8d6d3 small debugging with dummytests diff -r 792f81d65f82 -r 2b91638a11d3 test_dataset.py --- 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()