MCPcopy Index your code
hub / github.com/numpy/numpy / test_dimensions

Method test_dimensions

numpy/polynomial/tests/test_classes.py:612–614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

610 assert_raises(TypeError, Chebyshev.interpolate, self.f, 10.)
611
612 def test_dimensions(self):
613 for deg in range(1, 5):
614 assert_(Chebyshev.interpolate(self.f, deg).degree() == deg)
615
616 def test_approximation(self):
617

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
degreeMethod · 0.80
interpolateMethod · 0.80

Tested by

no test coverage detected