-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test cases for Number validations 1) test cases for while scale is None, precision is None, Both are None 2) Beaking down of Invalid conditions 1) Used Decimal and string conversions 2) __get_precision_scale as private Modification in comment Made some changes in test cases Fixed class description 1) Moved Decimal import up 2) Added InvalidOperation exception instead of generic 3) Made __get_precision_scale to internal as _get_precision_scale 4) Added assert for doctests 5) Added case with only invalid precision and no scale Added assert for doctests 1) Added Yeild flag(decimal/string) 2) Fixed tests naming convention Fixed exception Fixed test case naming
- Loading branch information
1 parent
5b1624c
commit a51b20c
Showing
2 changed files
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters