private static void Run()
        {
            const int numberOfTestRuns          = 1;
            const int numberOfRecordsPerTestRun = 1;

            BlogPosts.GenerateData(numberOfRecordsPerTestRun);
            var sqliteTestRuns   = new List <SQLiteTestRun>();
            var doubletsTestRuns = new List <DoubletsTestRun>();

            for (int i = 0; i < numberOfTestRuns; i++)
            {
                var sqliteTestRun = new SQLiteTestRun("test.db");
                sqliteTestRun.Run();
                sqliteTestRuns.Add(sqliteTestRun);
                var doubletsTestRun = new DoubletsTestRun("test.links");
                doubletsTestRun.Run();
                doubletsTestRuns.Add(doubletsTestRun);
            }
            Console.WriteLine("SQLite results:");
            var averageSqliteResults = GetResultsAverage(sqliteTestRuns);

            Console.WriteLine(averageSqliteResults.ToString());
            Console.WriteLine("Doublets results:");
            var averageDoubletsResults = GetResultsAverage(doubletsTestRuns);

            Console.WriteLine(averageDoubletsResults.ToString());
        }
 public void Setup()
 {
     BlogPosts.GenerateData(N);
     _sqliteTestRun   = new SQLiteTestRun("test.db");
     _doubletsTestRun = new DoubletsTestRun("test.links");
 }