Closed wandell closed 8 years ago
Let's use the Matlab unit testing tools.
I created a bunch of unit test functions for L3.
To run all the test case, call
run(L3Test);
To run one specific test, call
run(L3Test, testName)
Currently, testName can be chosen from 'testDataRDT' - test get data with remote data toolbox 'testDataCamera' - test l3DataCamera class 'testDataISET' - test l3DataISET class 'testDataSimulation' - test l3DataSimulation class
'testClassify' - test l3ClassifyFast.classify method 'testClassifyMethods' - test other l3ClassifyFast methods 'testClassifyParams' - test parameters of l3ClassifyFast class
'testPatchMeanContrast' - test routine used to compute patch mean 'testPatchMax' - test routine used to compute saturation
'testTrainOLS' - test train method in l3TrainOLS class 'testTrainRidge' - test train method in l3TrainRidge class 'testTrainMethods' - test other methods in l3TrainOLS 'testTrainParams' - test parameters of l3TrainOLS class
'testKernelSymmetry' - test l3TrainOLS.symmetricKernels method 'testKernelFillEmpty' - test l3TrainOLS.fillEmptyKernels method 'testKernelInterpolate' - test l3TrainOLS.interpolateKernels method 'testKernelUniform' - test l3TrainOLS.smoothKernels
'testRender' - test l3Render class
We might want to add more system level tests in the future. I'll close this issue for now and we can open new issues if we find problems and want some new tests.
Let's check smoothKernels
Some of the training routines could be checked.
Symmetric kernels
Interpolations
And let's brain storm about others that we should be writing. These could also partly be tutorials.