stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -2,15 +2,14 @@ using System.Security.Cryptography;
using System.Text;
using StellaOps.Cryptography;
using StellaOps.Cryptography.Digests;
using Xunit;
using StellaOps.TestKit;
using Xunit;
namespace StellaOps.Cryptography.Tests;
public sealed class Sha256DigestTests
{
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public void Normalize_AllowsBareHex_WhenPrefixNotRequired()
{
var hex = new string('a', Sha256Digest.HexLength);
@@ -18,7 +17,7 @@ public sealed class Sha256DigestTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public void Normalize_NormalizesPrefixAndHexToLower()
{
var hexUpper = new string('A', Sha256Digest.HexLength);
@@ -28,7 +27,7 @@ public sealed class Sha256DigestTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public void Normalize_RequiresPrefix_WhenConfigured()
{
var hex = new string('a', Sha256Digest.HexLength);
@@ -38,7 +37,7 @@ public sealed class Sha256DigestTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public void ExtractHex_ReturnsLowercaseHex()
{
var hexUpper = new string('A', Sha256Digest.HexLength);
@@ -46,7 +45,7 @@ public sealed class Sha256DigestTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public void Compute_UsesCryptoHashStack()
{
var hash = CryptoHashFactory.CreateDefault();