From 804f6ee6a88a92e77d7cc6fc5253fe6bf9d8f921 Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Fri, 13 Oct 2023 11:37:36 -0400 Subject: [PATCH] values -> targets --- tests/test_1d/test_backward_1d.py | 4 ++-- tests/test_2d/test_backward_2d.py | 4 ++-- tests/test_3d/test_backward_3d.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_1d/test_backward_1d.py b/tests/test_1d/test_backward_1d.py index dc33894..b4918bd 100644 --- a/tests/test_1d/test_backward_1d.py +++ b/tests/test_1d/test_backward_1d.py @@ -125,7 +125,7 @@ def func(points, targets): @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_CPU_values( +def test_t2_backward_CPU_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cpu", False) @@ -145,7 +145,7 @@ def test_t2_backward_CPU_points( @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_cuda_values( +def test_t2_backward_cuda_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cuda", False) diff --git a/tests/test_2d/test_backward_2d.py b/tests/test_2d/test_backward_2d.py index b560c45..f76a918 100644 --- a/tests/test_2d/test_backward_2d.py +++ b/tests/test_2d/test_backward_2d.py @@ -136,7 +136,7 @@ def func(points, targets): @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_CPU_values( +def test_t2_backward_CPU_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cpu", False) @@ -156,7 +156,7 @@ def test_t2_backward_CPU_points( @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_cuda_values( +def test_t2_backward_cuda_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cuda", False) diff --git a/tests/test_3d/test_backward_3d.py b/tests/test_3d/test_backward_3d.py index 62c8e9c..4e21d80 100644 --- a/tests/test_3d/test_backward_3d.py +++ b/tests/test_3d/test_backward_3d.py @@ -133,7 +133,7 @@ def func(points, targets): @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_CPU_values( +def test_t2_backward_CPU_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cpu", False) @@ -153,7 +153,7 @@ def test_t2_backward_CPU_points( @pytest.mark.parametrize("modifier", length_modifiers) @pytest.mark.parametrize("fftshift", [False, True]) @pytest.mark.parametrize("isign", [-1, 1]) -def test_t2_backward_cuda_values( +def test_t2_backward_cuda_targets( N: int, modifier: int, fftshift: bool, isign: int ) -> None: check_t2_backward(N, modifier, fftshift, isign, "cuda", False)