Closed atareen closed 6 years ago
@atareen Fixed issue with grid
@atareen Fixed grid_spacing issue Fixed num_grid_points issue Fixed bounding_box issue. Let's not worry about [False, True] working.
@jbkinney : Very nice. alpha = 1 and num_grid_points = 2 is failing still.
I like the updated error messages.
All functional tests are passing so I am closing the issue.
Functional Tests for Suftware
@jbkinney @ChenCSHL
This issue contains the results of running functional tests on suftware from code in the jbk_dev branch. The initial model for these tests is to find limiting values of each of the parameters in density object constructor for as many distributions and datasets possible, starting with the normal distribution.
The numbers under the parameter names indicate the individual type of test I ran. [PASS] or [FAIL] above the parameter name denotes whether a parameter works successfully or not.
Note that this series of tests is on-going work, I am putting them here so we are familiar with the current of suftware. Note also that these tests are currently being done with python 3. python 2 will follow soon.
The results of the tests and notes for each of the parameters are recorded as follows:
[PASS] alpha:
[PASS] grid:
[PASS] grid_spacing:
[PASS] num_grid_points:
[PASS] bounding_box:
[PASS] periodic: 1) This parameter works for both True and False. 2) If I set this to something other than a boolean value, I get a reasonable message: 'Input check failed. Parameter "periodic" must be of type boolean: periodic = <class \'float\'>'
[FAIL] Z_evaluation_method:
[FAIL] num_samples_for_Z:
[PASS] max_t_step:
[PASS] print_t:
[PASS] tolerance:
[FAIL] resolution:
[PASS] seed:
Need to test the following parameteres
Each of the methods in the suftware child classes will also be functionally test.
The skeleton code used for these tests is: