I have a usage problem. I have some test classes that extend TestCase class. I would like to group some of these classes into a suite that runs them. How do I do that? I don't know how to use add method from TestSuite class. I came up with something like this:
So basically I have to manually specify the name of every test method which is very tedious task. I don't want to use TestCase.fromPwd() - I want to create test suite containing only selected test cases.
OutSize and image_spiht are never used in fact. Last line assumes silently that dimensions of the image are power of 2 and that there are at least as many columns as rows. Perhaps this would be better:
level = floor( log2( min( [ nRow, nColumn ] ) ) );
Matlab code analyzer complains a lot about variables growing inside the loops. I think that optimizing that could improve performance a lot.