mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Fixed MOST name inconsistencies.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
[Test]
|
||||
public void SHA384EmptyFile()
|
||||
{
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
byte[] result = ctx.File(Path.Combine(Consts.TestFilesRoot, "checksums", "empty"));
|
||||
Assert.AreEqual(ExpectedEmpty, result);
|
||||
@@ -66,7 +66,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
fs.Read(data, 0, 1048576);
|
||||
fs.Close();
|
||||
fs.Dispose();
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
ctx.Data(data, out byte[] result);
|
||||
Assert.AreEqual(ExpectedEmpty, result);
|
||||
@@ -81,7 +81,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
fs.Read(data, 0, 1048576);
|
||||
fs.Close();
|
||||
fs.Dispose();
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
ctx.Update(data);
|
||||
byte[] result = ctx.Final();
|
||||
@@ -91,7 +91,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
[Test]
|
||||
public void SHA384RandomFile()
|
||||
{
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
byte[] result = ctx.File(Path.Combine(Consts.TestFilesRoot, "checksums", "random"));
|
||||
Assert.AreEqual(ExpectedRandom, result);
|
||||
@@ -106,7 +106,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
fs.Read(data, 0, 1048576);
|
||||
fs.Close();
|
||||
fs.Dispose();
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
ctx.Data(data, out byte[] result);
|
||||
Assert.AreEqual(ExpectedRandom, result);
|
||||
@@ -121,7 +121,7 @@ namespace DiscImageChef.Tests.Checksums
|
||||
fs.Read(data, 0, 1048576);
|
||||
fs.Close();
|
||||
fs.Dispose();
|
||||
SHA384Context ctx = new SHA384Context();
|
||||
Sha384Context ctx = new Sha384Context();
|
||||
ctx.Init();
|
||||
ctx.Update(data);
|
||||
byte[] result = ctx.Final();
|
||||
|
||||
Reference in New Issue
Block a user