Exemple #1
0
        public void CsProviderTest()
        {
            var csProvider = new CsProvider();
            Quellcode quellcode = null;
            csProvider.Quellcode_auslesen("TextFile1.txt", q => quellcode = q);

            Assert.IsNotNull(quellcode);
            Assert.AreEqual(quellcode.Codezeilen.Length, 3);
        }
Exemple #2
0
 static void Main(string[] args)
 {
     // build
     var portal = new Portal();
     var folderProvider = new FolderProvider();
     var csProvider = new CsProvider();
     var kommentarSchlucker = new KommentarSchlucker();
     var stats = new Statistik();
     // build + bind
     var interactors = new Interactors(folderProvider, csProvider, kommentarSchlucker, stats);
     var app = new Application(portal, interactors);
     // run
     app.Run();
 }