예제 #1
0
        public void EnsureOutputCanBeParsedGet()
        {
            var getFileBenchmark = new GetFileBenchmark();

            // run the setup
            getFileBenchmark.ChooseFile();

            var outDirectory = getFileBenchmark.GetFileFromSqLiteApiRowId16384();

            Assert.AreEqual(getFileBenchmark.OutputDirectory, outDirectory);
        }
예제 #2
0
        public void EnsureItApiGetFileWorks()
        {
            var getFileBenchmark = new GetFileBenchmark();

            // run the setup
            getFileBenchmark.ChooseFile();

            var outDirectory = getFileBenchmark.GetFileFromHdf5Api();

            Assert.IsTrue(File.Exists(outDirectory + Path.DirectorySeparatorChar + getFileBenchmark.CurrentFile));
        }