public async Task V2TestAsync() { Console.WriteLine("CSF 2 JSON"); await V2.Convert(@"Resources\ra2md.csf", @"Out\v2\ra2md.json").ConfigureAwait(false); Console.WriteLine("JSON 2 CSF"); await V2.Convert(@"Out\v2\ra2md.json", @"Out\v2\ra2md.csf").ConfigureAwait(false); Console.WriteLine("CSF 2 JSON"); await V1.Convert(@"Out\v2\ra2md.csf", @"Out\v2\ra2md.json").ConfigureAwait(false); Console.WriteLine("Check"); var newFile = new FileInfo(@"Out\v2\ra2md.csf").Length; var source = new FileInfo(@"Resources\ra2md.csf").Length; if (!source.Equals(newFile)) { throw new Exception("File Not Equal"); } Console.WriteLine("All Test Pass!"); }