def test_make_window_functions_for_known_geometries(win): signal = np.empty((10, 10)) window = make_window(signal, 1, win) assert window.any()
def test_make_window_passes_array(): win = signal = np.empty((2, 2)) win2 = make_window(signal, 1, win) assert (win == win2).all()