Beispiel #1
0
        /// <summary>
        /// Compare resuts in SQLite database and regular text files. R2 is calculated to make sure
        /// the results are identical
        /// </summary>
        static void TestSQLiteComparedToText()
        {
            Console.WriteLine("********************SQLite vs Text********************");

            string            workingpath = System.IO.Directory.GetCurrentDirectory();//use working directory
            SQLiteValidation2 test        = new SQLiteValidation2(workingpath);

            try
            {
                test.Compare(UnitType.HRU);
            }
            catch (OutOfMemoryException)
            {
                Console.WriteLine("Out of Memory!");
            }
        }
Beispiel #2
0
        /// <summary>
        /// Compare resuts in SQLite database and regular text files. R2 is calculated to make sure
        /// the results are identical
        /// </summary>
        static void TestSQLiteComparedToText()
        {
            Console.WriteLine("********************SQLite vs Text********************");

            string workingpath = System.IO.Directory.GetCurrentDirectory();//use working directory
            SQLiteValidation2 test = new SQLiteValidation2(workingpath);
            try
            {
                test.Compare(UnitType.HRU);
            }
            catch (OutOfMemoryException)
            {
                Console.WriteLine("Out of Memory!");
            }
        }