-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12376/#review23136
-----------------------------------------------------------


Mazi,

This looks like a good set of starter tests.  We should next add in tests for 
how the Dataset Class will respond when it is given incorrect data.  What if 
someone gives the Class a string instead of a numpy array?  I would imagine it 
would throw an Exception, but we need to test that.

Other than a few typos it looks good.

- Cameron Goodale


On July 10, 2013, 12:07 a.m., Maziyar Boustani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12376/
> -----------------------------------------------------------
> 
> (Updated July 10, 2013, 12:07 a.m.)
> 
> 
> Review request for Apache Open Climate.
> 
> 
> Repository: climate
> 
> 
> Description
> -------
> 
> test_dataset.py is the separate file to test the dataset.py file.
> Here I have tested attributes and all functions of dataset.py.
> The more test cases we come up with, the better dataset.py would be. 
> So it would be great if you can collaborate with me here to come up with more 
> test cases.
> 
> 
> Diffs
> -----
> 
>   https://svn.apache.org/repos/asf/incubator/climate/trunk/test_dataset.py 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/12376/diff/
> 
> 
> Testing
> -------
> 
> Here is the result of running the test_dataset.py
> As it shows, 9 tests have been done and all were successful.
> 
> 
> $ python test_dataset.py 
> .........
> ----------------------------------------------------------------------
> Ran 9 tests in 0.005s
> 
> 
> Thanks,
> 
> Maziyar Boustani
> 
>

Reply via email to