class documentation

class TestInit: (source)

View In Hierarchy

Test polynomial creation with symbol kwarg.

Method test_change_symbol Undocumented
Method test_default_symbol Undocumented
Method test_property 'symbol' attribute is read only.
Method test_symbol_bad_input Undocumented
Method test_valid_symbols Values for symbol that should pass input validation.
Class Variable c Undocumented
def test_change_symbol(self): (source)

Undocumented

def test_default_symbol(self): (source)

Undocumented

def test_property(self): (source)

'symbol' attribute is read only.

@pytest.mark.parametrize(('bad_input', 'exception'), (('', ValueError), ('3', ValueError), (None, TypeError), (1, TypeError)))
def test_symbol_bad_input(self, bad_input, exception): (source)

Undocumented

@pytest.mark.parametrize('symbol', ('x', 'x_1', 'A', 'xyz', 'β'))
def test_valid_symbols(self, symbol): (source)

Values for symbol that should pass input validation.

Undocumented