Skip to content

Commit 078e344

Browse files
authored
Add legacy preprocessor define condition to Hash Algorithm Wrapper Tests
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent acdfe69 commit 078e344

File tree

1 file changed

+7
-0
lines changed
  • HashifyNet.UnitTests/Algorithms/HashAlgorithmWrapper

1 file changed

+7
-0
lines changed

HashifyNet.UnitTests/Algorithms/HashAlgorithmWrapper/Tests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@
3333
using HashifyNet.Algorithms.SHA256;
3434
using HashifyNet.Algorithms.SHA384;
3535
using HashifyNet.Algorithms.SHA512;
36+
37+
#if !LEGACY
3638
using HashifyNet.Algorithms.SHA3_256;
3739
using HashifyNet.Algorithms.SHA3_384;
3840
using HashifyNet.Algorithms.SHA3_512;
41+
#endif
3942

4043
namespace HashifyNet.UnitTests.Algorithms.HashAlgorithmWrapper
4144
{
@@ -296,6 +299,8 @@ public void SHA512Config_Defaults_HaventChanged()
296299

297300
#endregion // SHA512_Tests
298301

302+
#if !LEGACY
303+
299304
#region SHA3_256_Tests
300305

301306
#region SHA3_256_Constructor
@@ -466,6 +471,8 @@ public void SHA3_512Config_Defaults_HaventChanged()
466471
#endregion // SHA3_512_ConfigValidation
467472

468473
#endregion // SHA3_512_Tests
474+
475+
#endif
469476
}
470477
}
471478

0 commit comments

Comments
 (0)