Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_degree
Function
test_degree
numpy/polynomial/tests/test_classes.py:415–417 ·
view source on GitHub ↗
(Poly)
Source
from the content-addressed store, hash-verified
413
414
415
def
test_degree(Poly):
416
p = Poly.basis(5)
417
assert_equal(p.degree(), 5)
418
419
420
def
test_copy(Poly):
Callers
nothing calls this directly
Calls
3
assert_equal
Function · 0.90
basis
Method · 0.80
degree
Method · 0.80
Tested by
no test coverage detected