mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code cleanup and style refactor.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user