← Back to team overview

oshippy-dev team mailing list archive

[Bug 611378] [NEW] some issues in class DvQuantity

 

You have been subscribed to a public bug:

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 isStrictlyComparable is not implemented correctly: it should
query the measurement service for the equivalence of units and return
true if the objects comparable are both DvQuantity and their units are
equivalent.

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?

** Affects: oshippy
     Importance: High
         Status: New

-- 
some issues in class DvQuantity
https://bugs.launchpad.net/bugs/611378
You received this bug notification because you are a member of OSHIPpy Developers, which is subscribed to OSHIPpy.