Esempio n. 1
0
        public void ClearUndo()
        {
            var target = new UndoRedoList <int, List <int> > {
                100, 200, 300
            };

            Assert.IsTrue(target.CanUndo);
            target.ClearUndo();
            Assert.IsFalse(target.CanUndo);
        }