Align geometry document fingerprints with Rust
This commit is contained in:
parent
7ed6719dbc
commit
a0e95358b8
2 changed files with 36 additions and 33 deletions
|
|
@ -70,6 +70,22 @@ namespace GameCult.Geometry.Tests
|
|||
.Should().Be(CultGeometryChunkArtifact.CreateRecordKey(chunk));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void FeatureClaim_StableFingerprint_UsesRustCanonicalOrder()
|
||||
{
|
||||
var claim = SampleDomain().Root.Children[0].Claims[0];
|
||||
|
||||
claim.StableFingerprint().Should().Be(string.Join('\u001e',
|
||||
"column-support-shell",
|
||||
"0,0,0",
|
||||
"0,0,0,1",
|
||||
"0,0,45",
|
||||
"18,18,96",
|
||||
"SupportShell",
|
||||
"10",
|
||||
"RenderAndCollider"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task ChunkArtifact_Replicates_ThroughCultNetRawDocumentLane()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue