From d3a2731f7c2c4c928a092843b0366130ecc9a540 Mon Sep 17 00:00:00 2001 From: Roy Date: Mon, 12 Dec 2016 14:04:35 -0500 Subject: [PATCH] Be symmetric --- tests/test_macros.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/test_macros.py b/tests/test_macros.py index 8a3997b..375fb07 100644 --- a/tests/test_macros.py +++ b/tests/test_macros.py @@ -4,22 +4,21 @@ SOURCE_TABLE = DataFrame([ - [2, 200], - [6, 600], + [1, 100], + [5, 500], ], columns=[ 'x', 'y', ]) @pytest.mark.parametrize('x, y', [ - (0, 200), - (1, 200), + (0, 100), + (1, 100), (2, 200), (3, 300), (4, 400), (5, 500), - (6, 600), - (7, 600), + (6, 500), ]) def test_interpolate_values(x, y): assert interpolate_values(SOURCE_TABLE, 'x', x)['y'] == y