Exemplo n.º 1
0
        public void TestSomethingWrittenInOutput()
        {
            FileEditor editor = new FileEditor("text1.txt", "solution.txt");

            editor.presentResults();

            FileInfo info = new FileInfo("solution.txt");
            long     size = info.Length;

            if (size > 0)
            {
                Assert.IsTrue(true);
            }
            else
            {
                Assert.IsTrue(false);
            }
        }