Method summary
- setUp(self)
- tearDown(self)
- test_mismatch_raises_error(self)
- test_one_array(self)
- test_set_array_with_units(self)
- test_set_scalar_with_units(self)
- test_set_unit_overwrite_unit_array(self)
- test_set_unit_overwrite_unit_scalar(self)
- test_set_zero_dim_array_with_units(self)
- test_single_float(self)
Methods
- setUp(self)
- tearDown(self)
- test_mismatch_raises_error(self)
Is an exception raised if there aren't enough units specified?
- test_one_array(self)
Does it pass a an array through correctly?
- test_set_array_with_units(self)
Does it add units to an array correctly?
fixme: This may be exactly what we don't want to happen!
- test_set_scalar_with_units(self)
Does it add units to a scalar correctly?
- test_set_unit_overwrite_unit_array(self)
Does it overwrite units on a UnitArray correctly?
- test_set_unit_overwrite_unit_scalar(self)
Does it overwrite units on a UnitScalar correctly?
- test_set_zero_dim_array_with_units(self)
Does it add units to an array with shape () correctly?
fixme: This may be exactly what we don't want to happen!
- test_single_float(self)
Does it pass a single value through correctly?