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