Files
natsdotnet/tests/NATS.Server.Tests/DifferencesParityClosureTests.cs
2026-02-23 13:43:14 -05:00

26 lines
923 B
C#

namespace NATS.Server.Tests;
public class DifferencesParityClosureTests
{
[Fact]
public void Differences_md_has_no_remaining_baseline_n_or_stub_rows_in_tracked_scope()
{
var report = Parity.ParityRowInspector.Load("differences.md");
report.UnresolvedRows.ShouldBeEmpty(string.Join(
Environment.NewLine,
report.UnresolvedRows.Select(r => $"{r.Section} :: {r.SubSection} :: {r.Feature} [{r.DotNetStatus}]")));
}
[Fact]
public void Jetstream_truth_matrix_has_no_row_level_drift()
{
var report = Parity.JetStreamParityTruthMatrix.Load(
"differences.md",
"docs/plans/2026-02-23-jetstream-remaining-parity-map.md");
report.DriftRows.ShouldBeEmpty(string.Join(
Environment.NewLine,
report.DriftRows.Select(r => $"{r.Feature} [{r.DifferencesStatus}|{r.EvidenceStatus}] :: {r.Reason}")));
}
}