← Back to team overview

oship-dev team mailing list archive

[Bug 610984] Re: some issues in DvCount

 

** Project changed: oship => oshippy

** Changed in: oshippy
    Milestone: 1.5 => None

-- 
You received this bug notification because you are a member of OSHIP
Development Team, which is subscribed to Open Source Health Information
Platform.
https://bugs.launchpad.net/bugs/610984

Title:
  some issues in DvCount

Status in Open Source Health Information Platform - Python:
  New

Bug description:
  It seems that it is not necessary to test for the type of magnitude in
  the initializer.

  The initializer lacks the magnitudeStatus argument and so does the
  superclass initializer.

  
  The methods compare ("<") and isStrictlyComparable are not implemented.

  The methods add and subtract in DvAmount may be implemented by calling
  the methods __add__ and __sub__ respectively.

  The method negate should be defined in DvAmount.

  It would be interesting to define a representation value for this
  class, wouldn't it?





References