public void Task_02_Select_03_Order() { var c = new MultipleSelectionContainer <SelectionItem>(); c.Select(B); c.Select(A); c.Select(C); c.SelectedItems.Should().BeEquivalentTo(B, A, C); }
public void Task_03_Unselect_02_Multiple() { var c = new MultipleSelectionContainer <SelectionItem>(); c.Select(A); c.Select(B); c.Select(C); c.Unselect(new [] { A, C }); c.SelectedItems.Should().BeEquivalentTo(B); }
public void Task_03_Unselect_01_One() { var c = new MultipleSelectionContainer <SelectionItem>(); c.Select(A); c.Select(B); c.Unselect(B); c.SelectedItems.Count.Should().Be(1); c.SelectedItems.Should().BeEquivalentTo(A); }
public void Task_02_Select_02_Multiple() { var c = new MultipleSelectionContainer <SelectionItem>(); c.Select(B); c.Select(A); c.SelectedItems.Count.Should().Be(2); c.SelectedItems.Should().BeEquivalentTo(B, A); c[B].Should().BeTrue(); c[A].Should().BeTrue(); }
public void SetEmptyFolder(IGoogleDriveFolder folder) { if (folder != null) { EmptyFolderContainer.Select(folder.Id); } }
private void HandleSelect() { MultipleSelectionContainer.Select(new[] { d, a, e }); }