class documentation

class TestLinearRamp: (source)

View In Hierarchy

Undocumented

Method test_check_2d Undocumented
Method test_check_simple Undocumented
Method test_end_values Ensure that end values are exact.
Method test_negative_difference Check correct behavior of unsigned dtypes if there is a negative difference between the edge to pad and end_values. Check both cases to be independent of implementation. Test behavior for all other dtypes in case dtype casting interferes with complex dtypes...
Method test_object_array Undocumented
def test_check_2d(self): (source)

Undocumented

def test_check_simple(self): (source)

Undocumented

def test_end_values(self): (source)

Ensure that end values are exact.

@pytest.mark.parametrize('dtype', _numeric_dtypes)
def test_negative_difference(self, dtype): (source)

Check correct behavior of unsigned dtypes if there is a negative difference between the edge to pad and end_values. Check both cases to be independent of implementation. Test behavior for all other dtypes in case dtype casting interferes with complex dtypes. See gh-14191.

@pytest.mark.xfail(exceptions=(AssertionError))
def test_object_array(self): (source)

Undocumented