carputils
Doxygen code documentation for the python framework controlling openCARP
Namespaces | Functions | Variables
test_quantity.py File Reference

Namespaces

 carputils.tests.carpio.test_quantity
 

Functions

def carputils.tests.carpio.test_quantity.test_converts_to_default_output_unit ()
 
def carputils.tests.carpio.test_quantity.test_call_uses_default_output_unit ()
 
def carputils.tests.carpio.test_quantity.test_output_unit_override ()
 
def carputils.tests.carpio.test_quantity.test_bare_number_uses_default_input_unit ()
 
def carputils.tests.carpio.test_quantity.test_longest_unit_suffix_wins ()
 
def carputils.tests.carpio.test_quantity.test_invalid_output_unit_raises ()
 
def carputils.tests.carpio.test_quantity.test_malformed_value_raises (bad)
 
def carputils.tests.carpio.test_quantity.test_unknown_default_unit_rejected_at_construction ()
 

Variables

dictionary carputils.tests.carpio.test_quantity.PRESSURE = {'kPa': 1.0, 'mmHg': 0.1333223684, 'Pa': 0.001}
 
dictionary carputils.tests.carpio.test_quantity.LENGTH = {'m': 1.0, 'cm': 0.01, 'mm': 0.001}