diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-09-06 14:24:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 14:24:40 +0530 |
commit | 7a29e41cd3d14f7d8936003d660814461ce4ea01 (patch) | |
tree | f802521c99ca1d437c8498c1a66baaa24e1a6ada /src | |
parent | 5a6c38d483a176734c9777e62baeb94a66b67176 (diff) | |
download | vyos-workflow-test-temp-7a29e41cd3d14f7d8936003d660814461ce4ea01.tar.gz vyos-workflow-test-temp-7a29e41cd3d14f7d8936003d660814461ce4ea01.zip |
Test
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/test.py b/src/tests/test.py new file mode 100644 index 0000000..46803bd --- /dev/null +++ b/src/tests/test.py @@ -0,0 +1,7 @@ +from typing import List
+
+import os
+
+def sum_even_numbers(numbers: List[int]) -> int:
+ """Given a list of integers, return the sum of all even numbers in the list."""
+ return sum(num for num in numbers if num % 2 == 0)
\ No newline at end of file |