Need to Reactor US Calendar Test classes and add missing tests (2011,2012)
Bug #1209594 reported by
warrior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
JQuantLib |
In Progress
|
Medium
|
Richard Gomes |
Bug Description
Now the calendar test classes are in two test files. It will be a good idea to separate tests for each Market and have separate files for these tests. Also, the tests are only for 2004 - 2010, so to make it coherent with other calendar test classes, we need to add the tests for 2011 and 2012.
=============
Relationships
=============
child of http://
To post a comment you must log in.
It's not necessary to separate different exchange into different classes.
On the other hand, it would be interesting to make the code easier to read. At the moment there are several dates added to some exchanges and/or removed from other exchanges. This make the code to be confused. It would be better to repeat blocks but keep one exchange totally separated from each other in each test case.
I've done a code review and sorted out some issues but it's still necessary to organize better the test cases, separating different exchanges into different test cases.