some issues in class DvQuantity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OSHIPpy |
New
|
High
|
Unassigned |
Bug Description
It seems that it is not necessary to test for the type of precision in the initializer.
The invariant Precision_valid: precision >= -1 is not implemented. It should throw an exception if precision < -1.
The initializer lacks the magnitudeStatus argument and so does the superclass initializer.
The methods compare ("<") is not implemented.
The method isStrictlyCompa
The methods add, subtract and negate in DvAmount are not implemented.
It would be interesting to define a representation value for this class, wouldn't it?
Related branches
Changed in oship: | |
importance: | Undecided → High |
milestone: | none → 1.5 |
affects: | oship → oshippy |
Changed in oshippy: | |
milestone: | 1.5 → none |