Completed
Push — master ( f90dfb...c5f758 )
by Xianshun
01:33
created

LSDUnitTest.test_lsd()   A

Complexity

Conditions 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
1
import unittest
2
3
from pyalgs.algorithms.strings.sorting import LSD
4
from tests.algorithms.strings.util import words3
5
6
7
class LSDUnitTest(unittest.TestCase):
8
    def test_lsd(self):
9
        words = words3()
10
        print(words)
11
        LSD.sort(words)
12
        print(words)
13
14
if __name__ == '__main__':
15
    unittest.main()