public void RadixMSDSortTest()
        {
            // Arrange
            var radixMSD = new RadixMSDSort <int>();

            radixMSD.Items.AddRange(Items);

            // Act
            radixMSD.Sort();

            // Assert
            for (var i = 0; i < Items.Count; i++)
            {
                Assert.AreEqual(Sorted[i], radixMSD.Items[i]);
            }
        }
Beispiel #2
0
        private void RadixMSDSortButton_Click(object sender, EventArgs e)
        {
            var radixMsd = new RadixMSDSort <SortedItem>(items);

            BttnSort_Click(radixMsd);
        }