def test_quantitative(self):
    t = self.terms[2]
    sint = formula.Quantitative('t', func=t, transform=np.sin)
    t.namespace = sint.namespace = self.formula.namespace
    assert_almost_equal(np.sin(t()), sint())
def test_quantitative(self):
    t = self.terms[2]
    sint = formula.Quantitative('t', func=t, transform=np.sin)
    t.namespace = sint.namespace = self.formula.namespace
    assert_almost_equal(np.sin(t()), sint())