Functional Tests
This page and the XML attachment are maintained by Grahame Grieve (grahameg@healthintersections.com.au). Contributions/Corrections are welcome, and are best made through the trac system.
Conformance
You may declare conformance to these UCUM functional tests if your implementation accepts the attached XML file as an input, and passes all the test cases below. You should always quote the most recent date from the history entries below when claiming conformance. You may qualify the conformance to particular kinds of cases if your functionality does not cover all the tests. Note that conformance to these tests does not equate to conformance to UCUM itself – though one could reasonably claim to be compliant with UCUM if one is conformant to these tests.
This file is copyright © 2008 – 2009 Grahame Grieve and other contributors:
- Gunther Schadow
- Lloyd Mackenzie
License
This source is licensed for public use under the Eclipse Public License.
History
- 18-Aug 2014: update current source – it is not valid
- 18-June 2014: Fixes for various issues, including trac #159
- 31-May 2010: updated with fixes to a couple of original conversion tests (Thanks to Christof Gessner). Extended the conversion tests considerably – should be easier to track down conversion issues
- 10-Feb 2009: First Version. Ucum validation Tests, display name generation tests, conversion tests, and initial multiplication test