| Filename | Latest commit message | Latest commit date |
|---|---|---|
The 246-byte all-absent Edge vector (SM-10) existed only on the Rust side (selection_wire_parity.rs's CSHARP_EDGE_HEX). The all-absent header gets incidental cover because it is nested inside the 376-byte envelope test; the edge has no such cover, so a C# edge encoder that resumed omitting a null payload/payloadEncoding would still pass every other test here - exactly the asymmetry R-AP existed to kill. Adds EdgeAllAbsentMatchesTheConstantCommittedIntoTheRustTest, asserting the same constant against MessagePackSerializer.Serialize. Flipping one hex digit of RustEdgeAllAbsentHex fails the new test only, confirming it is not vacuous. 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