Esempio n. 1
0
        public void TestWritingPbfFile()
        {
            var methodName = MethodBase.GetCurrentMethod().Name;

            TestUtils.ShowStarting(methodName);

            if (!File.Exists(TestRawFilePath))
            {
                Assert.Ignore(@"Skipping test {0} since file not found: {1}", methodName, TestRawFilePath);
            }

            Console.WriteLine(@"Writing...");
            var sw = new System.Diagnostics.Stopwatch();

            sw.Start();

            var outputFilePath = PbfLcMsRun.GetPbfFileName(TestRawFilePath);
            var pbf            = new PbfLcMsRun(TestRawFilePath, null, outputFilePath);

            Console.WriteLine(@"Done. {0:f4} sec", sw.Elapsed.TotalSeconds);
        }