public void TestLogPoint()
        {
            Point         p       = new Point(7, 9);
            BufferPrinter printer = new BufferPrinter();
            LogDynamic    log     = new LogDynamic(printer);

            log.Info(p);
            Assert.Equal(
                "Point{x:7}",
                printer.buffer.ToString());
        }
Exemple #2
0
        public void TestLogPoint()
        {
            Point         p       = new Point(7, 9);
            BufferPrinter printer = new BufferPrinter();
            Log           log     = new Log(printer);

            log.Info(p);
            Assert.Equal(
                "Point{GetModule:11,4017542509914, x:7}",
                printer.buffer.ToString());
        }