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

@@ -7,11 +7,13 @@ using StellaOps.Replay.Models;
using StellaOps.Testing.Manifests.Models;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Replay.Tests;
public class ReplayEngineTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Replay_SameManifest_ProducesIdenticalVerdict()
{
var manifest = CreateManifest();
@@ -23,7 +25,8 @@ public class ReplayEngineTests
result1.VerdictDigest.Should().Be(result2.VerdictDigest);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Replay_DifferentManifest_ProducesDifferentVerdict()
{
var manifest1 = CreateManifest();
@@ -39,7 +42,8 @@ public class ReplayEngineTests
result1.VerdictDigest.Should().NotBe(result2.VerdictDigest);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void CheckDeterminism_IdenticalResults_ReturnsTrue()
{
var engine = CreateEngine();
@@ -51,7 +55,8 @@ public class ReplayEngineTests
check.IsDeterministic.Should().BeTrue();
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void CheckDeterminism_DifferentResults_ReturnsDifferences()
{
var engine = CreateEngine();