[PIPE2D-192] Add a proper unittest for PolyFit Created: 08/Jun/17 Updated: 05/Apr/19 Resolved: 05/Apr/19 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | aritter | Assignee: | aritter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 1.5 |
| Description |
|
Please add a proper unittest for PolyFit which only tests the function itself. The current test testPolyFit in drp_stella/tests/Spectra.py is an integration test which tests the functionality of PolyFit when called from identify. Whether or not we keep the existing test needs to be decided... |
| Comments |
| Comment by hassan [ 05/Apr/19 ] |
|
The current C++ implementation of the test seems to be extensive and sufficient enough. |