mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
c07c9d40de
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
13 lines
307 B
Python
13 lines
307 B
Python
from slpkg.utils import Utils
|
|
|
|
|
|
def test_dimensional_list():
|
|
lists = [[1, 2, 3, 4, 5]]
|
|
utils = Utils()
|
|
assert [1, 2, 3, 4, 5] == utils.dimensional_list(lists)
|
|
|
|
|
|
def test_remove_dbs():
|
|
lists = [1, 2, 3, 3, 4, 5, 2, 1]
|
|
utils = Utils()
|
|
assert [1, 2, 3, 4, 5] == utils.remove_dbs(lists)
|