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

LSDUnitTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_lsd() 0 5 1
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()