fn write_to_gas_snapshot_file( tests: &[SuiteTestResult], path: impl AsRef<Path>, _format: Option<Format>, ) -> Result<()>
Writes a series of tests to a gas snapshot file after sorting them.