Exemplo n.º 1
0
        public void Test_Clear()
        {
            var node = new Node ("Node");
            var log = new Logger ();

            log.Write (node, 1, "Hello World");
            Assert.AreEqual (1, log.LogCount);

            log.Clear ();
            Assert.AreEqual (0, log.LogCount);
        }