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]); } }
private void RadixLSDSortButton_Click(object sender, EventArgs e) { var radixLsd = new RadixLSDSort <SortedItem>(items); BttnSort_Click(radixLsd); }