From e0b60ca6a4acbaa2217e90b0a8c77ab09715d0e1 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Tue, 31 Oct 2023 13:23:51 -0700 Subject: [PATCH] keep the tests for generic --- tests/test_show_as_cell.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_show_as_cell.py diff --git a/tests/test_show_as_cell.py b/tests/test_show_as_cell.py new file mode 100644 index 0000000..2edf24c --- /dev/null +++ b/tests/test_show_as_cell.py @@ -0,0 +1,6 @@ +from biocgenerics import show_as_cell + + +def test_show_as_cell(): + assert show_as_cell([1, 2, 3, 4], range(4)) == ["1", "2", "3", "4"] + assert show_as_cell([1, 2, 3, 4], [1, 3]) == ["2", "4"]