General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:43 +00:00
parent f59ecffb59
commit 2f9b7fe0a1
1324 changed files with 36815 additions and 37688 deletions

View File

@@ -1,5 +1,3 @@
namespace Aaru.Tests.Issues;
using System;
using System.IO;
using Aaru.Checksums;
@@ -9,6 +7,8 @@ using Aaru.CommonTypes.Interfaces;
using Aaru.Core;
using NUnit.Framework;
namespace Aaru.Tests.Issues;
/// <summary>This class will test an issue that happens when reading an image completely, from start to end, crashes.</summary>
public abstract class ImageReadIssueTest
{
@@ -35,8 +35,8 @@ public abstract class ImageReadIssueTest
Assert.AreEqual(ErrorNumber.NoError, image.Open(inputFilter), "Cannot open image for test file");
ulong doneSectors = 0;
var ctx = new Crc32Context();
ulong doneSectors = 0;
var ctx = new Crc32Context();
while(doneSectors < image.Info.Sectors)
{