Пример #1
0
        public void OnItemsChanged_Reset()
        {
            ItemsControlPoker c = new ItemsControlPoker();

            c.Items.Add(new object());
            c.OnItemsChanged_(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
            Assert.AreEqual(1, c.Items.Count, "#1");
        }
Пример #2
0
        public void OnItemsChanged_Null()
        {
            ItemsControlPoker ic = new ItemsControlPoker();

            ic.OnItemsChanged_(null);
        }