Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -4,6 +4,8 @@ using Xunit;
using System.Security.Cryptography;
using System.Linq;
using StellaOps.TestKit;
namespace StellaOps.Reachability.FixtureTests;
public class ReachbenchFixtureTests
@@ -13,7 +15,8 @@ public class ReachbenchFixtureTests
RepoRoot, "tests", "reachability", "fixtures", "reachbench-2025-expanded");
private static readonly string CasesRoot = Path.Combine(FixtureRoot, "cases");
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void IndexListsAllCases()
{
Directory.Exists(FixtureRoot).Should().BeTrue("reachbench fixtures should exist under tests/reachability/fixtures");
@@ -61,7 +64,8 @@ public class ReachbenchFixtureTests
}
}
[Theory]
[Trait("Category", TestCategories.Unit)]
[Theory]
[MemberData(nameof(CaseVariantData))]
public void CaseVariantContainsExpectedArtifacts(string caseId, string variantPath)
{
@@ -94,7 +98,8 @@ public class ReachbenchFixtureTests
VerifyManifestHashes(caseId, variantPath, requiredFiles);
}
[Theory]
[Trait("Category", TestCategories.Unit)]
[Theory]
[MemberData(nameof(CaseVariantData))]
public void CaseGroundTruthMatchesVariants(string caseId, string variantPath)
{