Example #1
0
 def test_radixsort_alphabetical_single(self):
     sortedList = sortUrls.radixsort_alphabetical(self.singleUrl).sort()
     self.assertEquals(sortedList, self.singleUrl)
Example #2
0
 def test_radixsort_alphabetical_empty(self):
     sortedList = sortUrls.radixsort_alphabetical(self.emptyUrls).sort()
     self.assertEquals(sortedList, self.emptyUrls)
Example #3
0
 def test_radixsort_alphabetical(self):
     sortedList = sortUrls.radixsort_alphabetical(self.urls).sort()
     self.assertEquals(sortedList, self.sortedByAlphabetical)
Example #4
0
 def test_radixsort_alphabetical_single(self):
     sortedList = sortUrls.radixsort_alphabetical(self.singleUrl).sort()
     self.assertEquals(sortedList, self.singleUrl)
Example #5
0
 def test_radixsort_alphabetical_empty(self):
     sortedList = sortUrls.radixsort_alphabetical(self.emptyUrls).sort()
     self.assertEquals(sortedList, self.emptyUrls)
Example #6
0
 def test_radixsort_alphabetical(self):
     sortedList = sortUrls.radixsort_alphabetical(self.urls).sort()
     self.assertEquals(sortedList, self.sortedByAlphabetical)