コード例 #1
0
ファイル: Program.cs プロジェクト: PolyHydrat/swat-eclipse
        /// <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!");
            }
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: ajarbancina/swat-eclipse
        /// <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!");
            }
        }