MCPcopy Index your code
hub / github.com/pathwaycom/pathway / assert_relative_error_small

Function assert_relative_error_small

python/pathway/tests/test_operators.py:359–360  ·  view source on GitHub ↗
(table: pd.Series, expected: pd.Series)

Source from the content-addressed store, hash-verified

357
358
359def assert_relative_error_small(table: pd.Series, expected: pd.Series):
360 assert np.isclose(table.to_numpy(), expected.to_numpy(), rtol=1e-15, atol=0.0).all()
361
362
363def test_float_pow():

Callers 2

test_float_powFunction · 0.85
test_mixed_int_float_powFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected