Ejemplo n.º 1
0
        public void TestPrint()
        {
            MoneyPrinter printer = new MoneyPrinter();

            using (StringWriter sw = new StringWriter())
            {
                Console.SetOut(sw);
                printer.print("Внесение", "RUB", 200);
                Assert.AreEqual <string>("Внесение RUB 200", sw.ToString());
            }
        }
Ejemplo n.º 2
0
 public void TestInitialize()
 {
     MoneyPrinter printer = new MoneyPrinter();
 }