| Filename | Latest commit message | Latest commit date |
|---|---|---|
Soul had this green in the rig at 376 bytes and called it "blocked on unbuilt page-assembly ownership" - the wrong thing: only the two *evaluators* producing the same page from the same rows needed that move (a separate claim, R-AR); the two *encoders* producing identical bytes for the same page value never did. Land the whole cultnet.snapshot_response_raw.v1 envelope, byte-identical between Rust's encode_cultnet_message_to_vec and C#'s CultNetSnapshotResponseRawV1Message, on both runtimes. The existing header/edge vectors also proved nothing about tags (string[] vs Vec<String>) or payload (byte[] vs serde_bytes): both were absent at every value pinned. Add a header with tags populated and an edge with a payload populated, captured the same way against a real MessagePack C# 3.1.7 run on Yggdrasil. Neither diverged - the two mappings agree byte-for-byte. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
| .. | ||
| CultNetCanonicalNumberTests.cs | ||
| CultNetDocumentBindingResolverTests.cs | ||
| CultNetOperationServerTests.cs | ||
| CultNetSchemaContractTests.cs | ||
| CultNetSchemaServerGroupTests.cs | ||
| CultNetSelectionEvaluatorTests.cs | ||
| CultNetSelectionFixBatchTests.cs | ||
| CultNetSelectionPageTests.cs | ||
| CultNetSelectionSurvivorTests.cs | ||
| GameCult.Networking.Tests.csproj | ||
| MiniJsonSchemaValidator.cs | ||
| NetworkingTests.cs | ||
| README.md | ||
| SelectionParityVectorTests.cs | ||
| SelectionWireParityTests.cs | ||
GameCult.Networking.Tests
GameCult.Networking.Tests contains NUnit tests for the networking library.
Scope
The tests currently cover:
- AES-GCM encrypt/decrypt round-trips in
Secret - signed session-token validation
- signed session-token tamper detection
- signed session-token expiry handling
Run
dotnet test tests\GameCult.Networking.Tests\GameCult.Networking.Tests.csproj
Adding New Tests
Typical future areas to expand include:
- client reconnect and verify flows
- login and registration integration tests
- malformed message handling
- rate-limiting behavior under concurrency