def test_fill(): assert xinterp.interp1d_DataArray(intV_fill, time=interp_time).identical(intV_interp_fill)
def test_nD_array(): assert xinterp.interp1d_DataArray(multiV, time=interp_time).identical(multiV_interp) assert xinterp.interp1d_DataArray(multiV, var_dim_0=interp_var_dim_0).identical(multiV_interp_var_dim_0) assert xinterp.interp1d_DataArray(multiStringV, var_dim_0=interp_var_dim_0).identical(multiStringV_interp_var_dim_0)
def test_int_dtype(): assert xinterp.interp1d_DataArray(intV, time=interp_time).identical(intV_interp)
def test_string_dtype(): assert xinterp.interp1d_DataArray(stringV, time=interp_time).identical(stringV_interp)
def test_bool_dtype(): assert xinterp.interp1d_DataArray(boolV, time=interp_time).identical(boolV_interp)