public void RadixLSDSortTest()
        {
            // Arrange
            var radixLSD = new RadixLSDSort <int>();

            radixLSD.Items.AddRange(Items);

            // Act
            radixLSD.Sort();

            // Assert
            for (var i = 0; i < Items.Count; i++)
            {
                Assert.AreEqual(Sorted[i], radixLSD.Items[i]);
            }
        }
예제 #2
0
        private void RadixLSDSortButton_Click(object sender, EventArgs e)
        {
            var radixLsd = new RadixLSDSort <SortedItem>(items);

            BttnSort_Click(radixLsd);
        }