diff --git a/tests/test_actions.py b/tests/test_actions.py index e6efad457..2b6989501 100644 --- a/tests/test_actions.py +++ b/tests/test_actions.py @@ -247,7 +247,11 @@ def testFractionalDifference(self): # Basic vectorActions - # def testLoadVector(self): TODO: implement + def testLoadVector(self): + action = LoadVector(vectorKey="vector") + inputData = {"vector": np.arange(5)} + result = action(inputData) + np.testing.assert_array_equal(result, inputData["vector"]) def testDownselectVector(self): selector = FlagSelector(selectWhenTrue=["{band}_flag"])