Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: Missing tests for mathieu_even_coef, mathieu_odd_coef #23825

@jorenham

Description

@jorenham

class TestMathieu:
def test_mathieu_a(self):
pass
def test_mathieu_even_coef(self):
special.mathieu_even_coef(2,5)
# Q not defined broken and cannot figure out proper reporting order
def test_mathieu_odd_coef(self):
# same problem as above
pass

But I'm not sure what that comment is referring to 🤔

The empty mathieu_a test also looks pretty odd (pun intended), but for that one there at least seems to be a smoketest:

def test_mathieu_a(self):
assert_equal(cephes.mathieu_a(1,0),1.0)
def test_mathieu_b(self):
assert_equal(cephes.mathieu_b(1,0),1.0)

But clearly there's also room for improvement here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions