def test_composition_2(self): f = V.compose(self.double, self.increment) self.assertEqual(f(2), 5)
def test_composition_1(self): f = V.compose(self.increment, self.double) self.assertEqual(f(2), 6)