def test(self): shape = () kwargs = dict() self.assertTupleEqual(PROPORTION.aggregate_shape(**kwargs), shape) kwargs = dict(captain='caveman', penelope='pitstop') self.assertTupleEqual(PROPORTION.aggregate_shape(**kwargs), shape)
def test(self): self.assertEqual(PROPORTION.name(), 'proportion')
def test(self): self.assertIsNotNone(PROPORTION.units_func) new_units = PROPORTION.units_func(None) self.assertEqual(new_units, 1)