mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
17 lines
396 B
C#
17 lines
396 B
C#
using LibHac.Crypto;
|
|
using Xunit;
|
|
|
|
namespace LibHac.Tests.CryptoTests
|
|
{
|
|
internal static class Common
|
|
{
|
|
internal static void CipherTestCore(byte[] inputData, byte[] expected, ICipher cipher)
|
|
{
|
|
var outputData = new byte[expected.Length];
|
|
|
|
cipher.Transform(inputData, outputData);
|
|
|
|
Assert.Equal(expected, outputData);
|
|
}
|
|
}
|
|
}
|