Verified Commit 18d181b4 authored by Qusai Al Shidi's avatar Qusai Al Shidi 💬
Browse files

Added test for `interp_nans`

parent d0fc1fba
Pipeline #24429 passed with stage
in 50 seconds
#!/usr/bin/env python
"""Tests for
import numpy as np
from import *
def test_interp_nans():
y__ = np.array([1, 1, np.NaN, 1])
x__ = np.ones_like(y__)
assert not any(np.isnan(interp_nans(x__, y__)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment