General cleanup and refactor.

This commit is contained in:
2022-03-07 07:36:44 +00:00
parent bc6e432565
commit 762e3eb6d2
1321 changed files with 44657 additions and 45479 deletions

View File

@@ -26,16 +26,15 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.Tests.Filters;
using System.IO;
using Aaru.Checksums;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Interfaces;
using Aaru.CommonTypes.Structs;
using Aaru.Filters;
using NUnit.Framework;
namespace Aaru.Tests.Filters;
[TestFixture]
public class AppleDoubleUnAr
{
@@ -58,7 +57,7 @@ public class AppleDoubleUnAr
IFilter filter = new AppleDouble();
filter.Open(_location);
Stream str = filter.GetDataForkStream();
byte[] data = new byte[737280];
var data = new byte[737280];
str.Read(data, 0, 737280);
str.Close();
str.Dispose();
@@ -90,7 +89,7 @@ public class AppleDoubleUnAr
IFilter filter = new AppleDouble();
filter.Open(_location);
Stream str = filter.GetResourceForkStream();
byte[] data = new byte[286];
var data = new byte[286];
str.Read(data, 0, 286);
str.Close();
str.Dispose();